Changing your HOSTS file before DNS propagation
After buying a domain, it may take up to 2 days before it propagates. Below is a workaround to access the new site while the domain is propagated.
The HOSTS file on your computer is located in the following location:
Windows – C:\windows\system32\drivers\etc\hosts
Open this file with Notepad - Run as Administrator.
Insert at the line at the bottom of the file
Now save your changes.
Run “cmd” and hit enter. Type the following:
Browse to your site using http://example.com/ or http://www.example.com/
Powered by WHMCompleteSolution