nscrivener wrote:
I have set up a domain in the linode manager for one of the websites I will be migrating. I understand that until I change the nameservers to Linode.com that the change will not go live across the internet.
Sorry, I don't have help for your /etc/hosts problem, but I do have a suggestion on this part.
Changing the nameservers can take a day or so to propagate around the internet, so if you do it this way, you will have some lag time where some users are hitting old and some new.
To avoid this, put your old server's IP into the linode DNS manager, turn the TTL down low (an hour or even lower if you want). Change your registrar to point to linode's nameservers. Wait a day or two. At this point, the world is still going to your old site, but via linode's DNS. Then, when you're ready, you just change the linode DNS Manager to point to your linode and the world should be at the new site within an hour or so instead of a day or so.