Hosts file in windows

1,798 Views

How to set the hosts file in Windows.

If you are moving your site to a new server and want to view your site before you've switched the DNS you can do this by editing the hosts file in windows XP pro.

1) Open the file c:\windows\system32\drivers\etc\hosts

2) Add the IP of the new server and the URL. When we moved realestatewebmasters.com here was the entry in my hosts file.

127.0.0.1       localhost
72.32.191.116   www.realestatewebmasters.com


Then I closed all my browser windows and opened realestatewebmasters.com to verify that the move was successful.

Once verified I added removed that line from the hosts file.



 


Aaron Brunt Programmer

Comments

Enjoy this post? Why not share with friends or add a comment of your own?

Share your thoughts…

Close
  • $9000 off Our Newest Premium Site: PT3!
  • 55% off all fixed cost modules!
  • Extended Early Bird Pricing to REW Summit 2014
  • $388 in Hosting Savings
  • & More...

Read All About It!

Our Best LEC Ever is selling out Fast!

See the Super-Awesome LEC!