How to Edit your Windows Host file

When you are setting up a new website, you may not want to wait for the domain records to propagate. You can make an edit to your host file to tell your computer where the records are supposed to resolve.

Windows 7 and Vista

1. Click Start → All Programs → Accessories

2. Right click Notepad and select Run as administrator

3. Click Continue on the “Windows needs your permission” UAC window.

4. When Notepad opens Click File → Open

5. In the filename field type C:\Windows\System32\Drivers\etc\hosts

6. Click Open

Once this file is open, you will add a line at the very bottom like this.

192.168.254.72 example.com

Make sure not to have anything else on the line other than the numbers and the domain name, otherwise it will not work.

You will need to substitute the IP address for your server's IP, and the domain name needs to be substituted for your domain name.

Once you have added that, just click save and then you'll be able to go straight to your new site.

Company

Help

WordPress Hosting Special Offer!

Promo Code: wp-intro

50% OFF WordPress Hosting!

$1.00 WordPress Hosting!

Sign up today and get your first month of WordPress hosting for only $1.00. Our WordPress hosting is a purpose built service designed specifically to increase the performance and security of your WordPress site!

* Offer only valid for 1-Month plans. You may upgrade or change your billing term at any time to receive additional discounts.