Hosts file in windows

Posted Dec 27, 2006 @ 1:50 pm, Viewed by 510 Visitors, Read 514 Times.
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.



 


  • Rate this Post!
  • Print

This Post Has No Comments.

REW Blogs User Stats
Currently Online Users: 1
Total Users: 1,755
Entries: 5,193
Unique Views: 2,602,412
Total Views: 2,700,014
Total Comments: 5,256
Aaron

Aaron Real Estate Webmasters StaffProgramming Director Read More

This User's Stats
Blog Entries: 7
Average Blog Rating: 2
Unique Views: 4,233
Total Views: 4,273
Comments Posted: 8
Comments Received: 5