Adding a new IP Address with ISPConfig

Discussion in 'Installation/Configuration' started by vaio1, Mar 20, 2013.

  1. vaio1

    vaio1 ISPConfig Developer

    Hi guys,

    I have created a new ip address in my /etc/network/interfaces adding these rows:

    Code:
    allow-hotplug eth0:0
    iface eth0:0 inet static
            address 101.178.110.100
            netmask 255.255.255.248
    
    allow-hotplug eth0:1
    iface eth0:1 inet static
            address 101.178.110.101
            netmask 255.255.255.248
    
    I have added in the ISPConfig as the manual told me the new IP Address: 101.178.110.100

    I have created a website in the ISPConfig admin panel.

    Then, I have set up a new "A zone" in my dns service for the new website.

    Now, If I call the domain I can see the default ISPConfig welcome page but It seems to me that it doesn't redirect it to the website folder.

    How have I to solve this problem?

    thanks
     
  2. Lionheart82

    Lionheart82 New Member

    Hello, many things you should check... first is dns configures properly?
    what does ping ip address show you? have you configure in ispconfig the 80 port in this address?
    Also did u use the specific ip address in the new web site?
     
  3. vaio1

    vaio1 ISPConfig Developer

    Hi,

    yes I have set up the DNS Zones with the new IP. My settings are:

    Code:
    
    auto eth0
    iface eth0 inet static
            address 101.178.110.100
            netmask 255.255.255.248
            network 101.178.110.125
            broadcast 101.178.110.109
            gateway 101.178.110.122
            # dns-* options are implemented by the resolvconf package, if installed
            dns-nameservers 112.197.132.21
            dns-search mydomain.com
    
    
    allow-hotplug eth0:0
    auto eth0:0
    iface eth0:0 inet static
            address 101.178.110.101
            netmask 255.255.255.248
    
    Now all works! I have to wait the update of the dns zone before testing it again.

    thanks
     
  4. Lionheart82

    Lionheart82 New Member

    If you are in windows you can edit your hosts file and set something like

    ipaddress domainname.com
    and save ( if you can save it copy paste on desctop, save it and then repaste in "Windows\System32\drivers\etc" folder)

    then ipconfig -flushdns on a cmd promt and you are done, you should see the web site even if dns is not updated yet.
     
  5. almere

    almere HowtoForge Supporter

    Windows on Linux forum?
    Code:
    /etc/network/interfaces
    in windows? :rolleyes:
     
  6. Lionheart82

    Lionheart82 New Member

    This guide was for windows in order to see the web site locally at your own computer only - until dns is updated...
     

Share This Page