In all migrations, we may wish to check the domain’s functionality and fix any errors preset to make the dns change smoother and perfect. So just thought to add this in our blog too 🙂
Some control panel offer site preview, especially Plesk using which we can take a look on domain hosted in that domain. But in others like cPanel, Directadmin and those without any control panels, we may need to check this using local hosts file or by changing the A record on a temporary basis.
Best method is to check websites using your local “hosts” file in your PC / Laptop. Below is the steps using which one can test a website hosted in a remote server without changing the name server.
1. Locate the hosts file in your computer. Typically it is in one of the following locations:
Windows NT/2000/XP/2003/Vista/7 — C:\windows\system32\drivers\etc\hosts
Windows 95/98/Me — C:\windows\hosts