TIP for testing a website before changing DNS records

A useful tip to use when transferring a website and testing the transfer before changing your DNS is to edit the local hosts file. First, you want to get the IP address of the destination.

Locate your local hosts file in Windows:

C:\Windows\System32\drivers\etc

Go to the last line and first add your IP and then the domain name of the website with and without www. So, for example, it would be:

127.0.0.1 domainname.com www.domainname.com

Leave a reply:

Your email address will not be published.

Site Footer