How to Preview Your Website Before Switching DNS

Preview Website Before Switching DNS

Every online marketer at some point will need to move a website; whether they purchase one on Flippa, or switch to a new a web hosting company. Sometimes domain transfers can take days and you probably don’t want to wait for that. Maybe you want to verify everything is up and running ok on your new host before flipping the switch so you avoid any downtime. Follow the steps below to preview your website before switching the DNS.

Step 1

This tutorial assumes you are running windows. First launch notepad or Notepad++ as an administrator.

launch notepad as administrator

Step 2

Then browse to your hosts file.


hosts file

Step 3

Type in the IP of your new web host and then your domain name. Then save the file.

dns hosts file address

Step 4

Now launch a new web browser and you will be able to test your site on the new host. Once your testing or migration is fully completed, I recommend removing the IP from your hosts file. A great free online service to test your DNS is WhatsMyDNS. I also recommend reading my tutorial on “How to Migrate Your WordPress Website to New Web Host.”

As always feel free to leave your comments below.


Marketing, WordPress, Blogging Tips, SEO and Reviews, once a week.

Add Comment