Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th January 2010, 05:37
Chow Chow is offline
Junior Member
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default Shared IP after changing IP

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.
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2010, 16:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th July 2010, 17:47
savy2k savy2k is offline
Member
 
Join Date: Oct 2008
Posts: 53
Thanks: 4
Thanked 1 Time in 1 Post
Default

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
Reply With Quote
The Following User Says Thank You to savy2k For This Useful Post:
feeninuoumn (23rd December 2013)
  #4  
Old 27th July 2010, 18:29
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 28th July 2010, 14:10
savy2k savy2k is offline
Member
 
Join Date: Oct 2008
Posts: 53
Thanks: 4
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #6  
Old 28th July 2010, 14:46
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th July 2010, 01:49
savy2k savy2k is offline
Member
 
Join Date: Oct 2008
Posts: 53
Thanks: 4
Thanked 1 Time in 1 Post
Default

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?
Reply With Quote
  #8  
Old 29th July 2010, 10:21
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

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

dig www.yordomain.com

and then look into the Vhost_ispconfig.com 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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 29th July 2010, 12:37
savy2k savy2k is offline
Member
 
Join Date: Oct 2008
Posts: 53
Thanks: 4
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote
  #10  
Old 29th July 2010, 12:50
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
 
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
chgrp error new user DKA General 15 28th July 2008 17:45
No load modules in apache. N0K General 2 13th March 2008 17:34
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


All times are GMT +2. The time now is 13:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.