Support article
Preview your domain without changing DNS
Learn how to preview your website on a new hosting account without changing public DNS by using your computer's hosts file.
Introduction
If you want to review a website on the new hosting account before changing public DNS, you can temporarily edit the hosts file on your computer.
This method only affects your device and lets you test the website without changing what other users see.
Windows path
C:\Windows\System32\drivers\etc\hosts
Example entry
192.0.2.10 mydomain.com www.mydomain.com
Replace 192.0.2.10 with the real IP address of the new hosting account.
Conclusion
Editing the hosts file is a very useful way to review a website before changing public DNS. It is a local, temporary test and highly recommended when you are preparing a migration.