Preview WordPress Blog before DNS has Changed

Below I will show you a quick way to preview/setup your blog before or while you are waiting for your DNS to change. This is especially useful when buying blogs or sites off of Flippa.com. If they can’t push the domain to your account, sometimes the domain transfer can take days and so you don’t want to have to wait to verify everything is up and running.

Preview before DNS Change

This tutorial is assuming that you are running Windows.

Step 1

Browse to your hosts file which is located here:



Step 2

Right click on your hosts file and edit with NotePad or NotePad++. At the very bottom, input the new IP for your address, the one at your new webhost, and then the domain name. Then hit save. (Note: You might have to launch your text editor program as Administrator to be able to save here.)


Step 3

I would then open up command prompt and ping your domain name to verify that the IP change took affect. Once your domain’s DNS has really transferred over, you can then remove this entry from your hosts file.

You may also like:

How to Set Featured Products in WooCommerce This is a short tutorial on how to set a featured product in WooCommerce and a shortcode you can use. Sometimes when it's too easy it is hard to fin...
Backslashes Aren’t Working in WordPress Post... Are backslashes not working in your WordPress posts? The most likely reason for this is due to a WordPress plugin. The best solution is to disable you...
Add a line break into WordPress Post or Page I don’t know why WordPress can’t seem to get line breaks to work correctly. Anyways, if you are searching for this you have probably tried adding a br...
Deleting an old Permalink in WordPress Ever had a page or post in WordPress that you wanted to name a certain name and whenever it saved, it appended it with "-2" or "-3"? Example, I was tr...
Best WordPress Plugin for Checking Broken Links &#... If you are looking for a good WordPress plugin to find and fix broken links then Broken Link Checker is one you want to check out! http://w-shadow.co...
READ ALSO  Add Custom CSS to your WordPress Theme