hosts and dns
Posted: Fri Sep 04, 2009 4:41 am
I have a website which is going to be moved from server to server. So the site is now http://www.example.com
The new package is set up at the server with, say, IP 12.345.678.123
The webhost told me to change my hosts file on my computer and add a line
12.345.678.123 example.com
I did that but nothing happens. When does that take effect? Is a computer restart needed?
And wouldn't it be possible to access the new server directly, through
http://12.345.678.123
That doesn't work right now, even though I expected it to, since FTP-ing to the same IP does work
The new package is set up at the server with, say, IP 12.345.678.123
The webhost told me to change my hosts file on my computer and add a line
12.345.678.123 example.com
I did that but nothing happens. When does that take effect? Is a computer restart needed?
And wouldn't it be possible to access the new server directly, through
http://12.345.678.123
That doesn't work right now, even though I expected it to, since FTP-ing to the same IP does work