Forum Moderators: phranque

Message Too Old, No Replies

checking site before move

querying new host dns

         

soapystar

9:16 am on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



running into a problem....

looking to switch a site from shared to dedicated across different hosts. Of course i cant switch nameservers till i know the new server and dns is correctly setup. I have asked for some cnames to be set which the new host says has been done. My problem is i cant verify they are working. If i edit my computer hosts file to use there dns server and try a cname it redirects to their own website. Strange. If use my server ip then i get a cpanel message saying no site configured. The cname should load a seperate site and not a site on that server. If i do
'dig @hostnamerver domain'
it comes back with the current sites ip, not the ip which it would use if i switched dns. All the while the host tells me it all works fine at their end. Maybe im missing something obviuos but nothing i do at my end verifys what they are saying. Any ideas on what queries to run to verify that all is well if i switch nameservers?

wheel

2:40 pm on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you do a dig @nameserver www.domain.com, the IP it responds with is what IP address it thinks the domain is on. It's strictly factual, if your host claims one thing and dig responds with another then dig is still correct.

If apache is asked to server a site it doesn't see in it's config files, it serves the first site in it's config file. So if you point a domain at a server via your hosts file, and apache isn't aware of the domain, you'll likely see your hosting company's web site.

Not sure what you're doing with cnames. That's not how I normally move domains.

soapystar

3:46 pm on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



well not sure i follow this. If the new hosts nameserver is returning the current ip instead of the new server ip then when i switch nameservers to the new host it is going to send the domain request back to the old domain no? When a host transfers in a domain for hosting do they not have to change their nameserver to show your site on one of their own servers rather than where it currently is?

re cnames they appear correct now. However just to explain. i had something like
sub.domain.com pointing at www.anothersite.com

so anothersite.com is not served by me.

So no way should a request for sub.domain.com be sent to apahe since it should go straight to www.anothersite.com

Im not sure what is reasonable to expect when a managed dedicated server is handed over but i would have expected at least the server to have a ptr record which it does not. I get a bad feeling on this.

wheel

3:04 am on Dec 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>>If the new hosts nameserver is returning the current ip instead of the new server ip then when i switch nameservers to the new host it is going to send the domain request back to the old domain no?
Correct.

>>>>When a host transfers in a domain for hosting do they not have to change their nameserver to show your site on one of their own servers rather than where it currently is?
Not neccessarily, but sure, in your case you can assume that this is correct.