Shared IP after changing IP

Discussion in 'Installation/Configuration' started by Chow, Jan 9, 2010.

  1. Chow

    Chow New Member

    I had to change a site from x.x.x.152 to x.x.x.146.

    The site was working fine for a bit but now it says "
    This IP address is shared. For access to the web site which you look for, enter its address instead of its IP.

    For questions or problems please contact the server administrator."

    can someone please help me. I have switched a few of my domains and some work and some do not.
  2. till

    till Super Moderator

    Go to the settings of the website, make sure that the new ip is selected and click on save. You have to click on save even if the IP shows up already.
  3. savy2k

    savy2k New Member

    I have this same problem. I have 6 sites on the server. I changed the IP address of my server. After everything propagated, only 2 of them work all the rest gives me that "This IP address is shared. For access to the web site which you look for, enter its address instead of its IP."

    I have changed the address @ Management | server settings
    and ISP manager |reseller | sites| domain name
    and under DNS manager and the "A" records

    Also I made sure the change was made in Vhosts_ispconfig.conf, etc/hosts, and all the other places in linux.

    Any help would be appreciated.

    ISPConfig Version: 2.2.27
  4. till

    till Super Moderator

    Never edit Vhosts_ispconfig.conf manually! All manuals changes get removed automatically. To solve your problem, open the settings of every site in ispconfig, ensure that the correct IP is selected an click on save. You have to click on save in every site, even if the correct IP shows up already or the new IP does not get written to the system for this site!

    I explained this already in #2 of this thread.
  5. savy2k

    savy2k New Member

    Till, I changed the Vhosts_ispconfig.conf before I saw this post. But I went to Vhosts_ispconfig.conf and you are right, the changes I made were gone so I went into the ISPConfig GUI and followed your instructions then I went back into Vhosts_ispconfig.conf a few hours later and all the appropriate changes were made. The problem however still exists. I still get the shared IP error when I try to go to some of the sites.
    BTW, your help is appreciated.
  6. till

    till Super Moderator

    You get a shared IP message when the IP address of the vhost does not match the IP address of the dns record for a given domain name. Check again the website and dns settings.
  7. savy2k

    savy2k New Member

    I have double checked everything and the problem persists. I must be missing something. I just can't imagine what it could be. I went to each site in ISP Manager and saved the settings after making sure the IP address is correct. Then I went to the DNS manager and I went to each site and checked the "A" records and saved them and I saved the settings for each site at the first form of the DNS entry. Is there something I missed?
  8. till

    till Super Moderator

    Check the dns records with dig, e.g.:


    and then look into the file and check that the IP in the vhost line for this website matches the one from the dig output.

    Another thing you might try is to do a reboot of the server. I had it several times that there were hanging bind or apache processes which delivered websites for a old configuration.
  9. savy2k

    savy2k New Member

    Thanks Till!!!!you are a super hero. It just started working for reasons I have yet to understand. None the less, I am compelled to credit your help for it. Again thank you.
    Now I just have to fix this FTP problem.
  10. till

    till Super Moderator

    Then you had most likely a problem with DNS. If you change a DNS record, it may take up to 48 hours until the changes have been propagated to all dns caching servers of the Internet providers worldwide.

    Which problem do you have with FTP? Changing the IP should not affect FTP as the IP is not stored in the FTP configuration.
  11. savy2k

    savy2k New Member

    Oh, the FTP problem is not related, I have had this problem from the start. Users have to use secure FTP and of course most don't know how.

Share This Page