Well, the steps are as follows:The DNS resolver in special cases are handled by a configuration file in your Windows computer called “hosts” which can be found at the location mentioned below-
%SystemRoot%\system32\drivers\etc\hostsFor Mac PCs, it is located at
/private/etc/hostsand for Linux PCs the hosts file is located at
/etc/hostsaccordingly. Open the hosts file with Text Editor, e.g. Notepad, and add your manual entries after the below line-
127.0.0.1 localhostAdd your old IP4 address of the previously hosted server along with your domain as done in the below example-
127.0.0.1 localhost 220.127.116.11 freestylepost.com 18.104.22.168 www.freestylepost.comP.S.: We have used our own domain name and IP4 address for easy understanding. You’ll have to use your own domain name and IP4 address with your previous hosting/server. Now save the file in the same location. The location is generally protected from modifications, so you many not save the changes directly. In such cases, create a new .txt file in your hard disk with the above data, rename it to hosts (without .txt extension) and move the file into the correct/original location mentioned above (for Windows PC- %SystemRoot%\system32\drivers\etc\). In some cases the hosts file may be missing. If it is not there, you can add it manually. After all these, if you’ve done everything correctly, your domain will load from the previous server. Now you can access the old blog technically without any propagation or DNS change!! Remember, for the whole world your blog is accessible from the new server, but only you are accessing it from the old server. Now do whatever you had left before migrating. When you’re all done, remember to remove the custom DNS resolver (the bypass) from your computer’s configuration.