Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 03, 2009 3:39 am 
Offline
Newbie

Joined: Thu Dec 03, 2009 3:24 am
Posts: 4
Hello

I'm new here. Please go easy on me xD
I've followed VPS guide on here and mostly on guvnr.com. I've setup my server with nginx. But since I'm not done with the server I didn't change my domain nameservers yet. So my site is still running at the old host.

I want to test my site on my linode first before I move. So I added my site to my windows xp hosts file: (windows\system32\drivers\etc\HOSTS)

69.164.xx.xx www.mydomain.com
127.0.0.1 localhost

So that my browser send me to the new server. But it goes to my old server instead.
I tested HOSTS file to see if it is working at all, and instead of my Linode IP address, I entered Yahoo! IP address:

69.147.76.15 www.mydomain.com
127.0.0.1 localhost

and it worked. By entering my site URL, I got Yahoo! page.
So I guess my Linode IP is somehow redirecting me back to my old [running] server?

Another thing is, since I haven't changed nameservers, I couldn't reverse DNS.
By 'hostname -f' on my CLI, I get:
mail.mydomain.com

But the Hostname Lookup couldn't find it since mail.mydomain.com is still pointing to the old server IP.

So to sum up, I'm asking how to test my site on my new server without having to change my domain nameservers?

Thanks for your attention


Top
   
 Post subject:
PostPosted: Thu Dec 03, 2009 11:20 am 
Offline
Senior Newbie

Joined: Sun Nov 22, 2009 12:16 pm
Posts: 15
Not sure what is happening with your hostname, that is a bit odd. Quick solution though - try setting up a subdomain. Usually relatively quick to update, and then you can setup / test your Linode using something like test.mydomain.com


Top
   
 Post subject:
PostPosted: Thu Dec 03, 2009 1:55 pm 
Offline
Junior Member

Joined: Mon Nov 21, 2005 4:23 pm
Posts: 46
It doesn't explain why it works with Yahoo's IP and not yours, but try flushing your DNS cache:

Code:
ipconfig /flushdns


from a command line.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group