More than 1 privet IP

Discussion in 'Installation/Configuration' started by rvakili, Feb 25, 2009.

  1. rvakili

    rvakili Member

    Hi all,

    I set up a fedora 8 and isconfig 2. I have static IP going to the router.

    i have 6 IP's The port forwarding is going to one of the ip's attached to eth0
    Other ips are eth0:0, eth0:1, etc. it all show up using ifconfig command

    Going to the control panel under setting all the ip's show up correctly.

    If i setup sites using the eth0 ip they all fine. if I assign the site to use one of the other ip's it shows up with the Shaird IP page?

    Any idea how to get this to work so each site gets its own private IP?


    Many thanks,

    Ramin
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Make sure that your domains/hostnames point to the correct IP.
     
  3. rvakili

    rvakili Member

    Thanks Falko,

    The domains are pointed at the static IP.

    For the first domain abc1.com is going to the first IP 192.168......1 this working fine
    The second domain abc2.com is going to the 192.168.....2 It is not working. However, if I change the domain IP to 192.168......1 it works?

    Beside selecting the IP from the IP list do i have to modefiy any files?

    Thanks,

    Ramin
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I guess you're forwarding port 80 from your router to 192.168......1. The problem is that you can forward port 80 to just one IP, not multiple Ips.
    No.
     

Share This Page