Submitted by AlexCook on Thu, 07/16/2009 - 11:23
I am having an issue with private IPs (migrating to a new server).
When I set a domain's IP to a new IP, save it, and go to it in my browser, it forwards to the first domain that is using the server's shared IP. Another time I tried it and it masks the domain - showing a different site than the one I want...
Any idea on what might be causing this?
Status:
Closed (fixed)
Comments
Submitted by andreychek on Thu, 07/16/2009 - 13:52 Comment #1
Howdy -- two thoughts come to mind as possible culprits --
Don't forget that domain names are cached in DNS. So if you browse to www.example.com, and then change the IP address for www.example.com to something else, the old IP address could be cached for a day or so, causing some unexpected behavior until the cache clears up.
Another possibility is that one or more Virtual Servers could have a * in their VirtualHost definition rather than an IP address. If type this on the command line:
grep '<VirtualHost *' /etc/apache2/sites-enabled/*
Do you get any hits? If so, that could be part of the trouble (and we can help you fix that up).
Submitted by AlexCook on Thu, 07/16/2009 - 22:42 Comment #2
THANKS!
Migrating is turning out to be tough, but it'd be much tougher without virtualmin :-).
For some really strange reason, it just "started to work" all of the sudden. I have no idea what did it - maybe the DNS needed to propogate or something.
Alex
Submitted by JamieCameron on Fri, 07/17/2009 - 12:28 Comment #3
I guess this is resolved then..
Submitted by Issues on Fri, 07/31/2009 - 13:18 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.