dez — 2013-06-20T17:38:07-04:00 — #1
If you were changing your hosting environment from shared servers to dedicated servers, and your hosts asked you to edit the hosts file on your pc, is that normal?
felgall — 2013-06-20T17:40:07-04:00 — #2
Temporarily changing the hosts file on your computer provides you with a way to access both the old server and the new server while performing the move. You can remove the entries again after the move is complete.
For example if your site is being moved from 220.127.116.11 to 18.104.22.168 you could enter the following two lines in the hosts file.
then when you enter the address with the www you access the old server and without the www you access the new server - while everyone else accesses whichever of the two servers the nameserver they access points to.
dez — 2013-06-23T08:55:12-04:00 — #3
Many thanks Stephen, understood now.
scopehosts — 2013-06-25T00:44:58-04:00 — #4
This is helpful in the Migration of the Websites where you can access the Old Website via the Hosts file provided you have changed the NS of the Domain Name to the New Server.