How to see a site before the DNS changes
Posted Jun 1, 2009 @ 5:30 pm, Viewed by 593 Visitors, Read 611 Times.Changing your DNS can take a few hours to 2 days. Sometimes you just want to see the new site NOW. Here are some things to try to get you to the new site sooner.
Step 1: Flush your DNS
On your computer go to Start -> Run and type in CMD and click OK. Then type in
ipconfig /flushdns
You should get something like this
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
Now close and reopen your browser. If you have multiple windows or tabs open you will need to close them all. Try your site again.
Step 2: Change your hosts file
If step 1 doesn't work for you then you will need to edit your hosts file.
The hosts file is a special file in windows. It is used to lookup domain names before checking DNS. You can find this file at
C:WINDOWSsystem32driversetchosts
Open this file with Notepad.
You should see a line like
127.0.0.1 localhost
Just add a line like this below with the IP of your server and your domain name.
1.2.3.4 www.example.com
If you are a REW customer simply ask your site live tech for the IP your site is going to be on. Also make sure to use the www so that you dont get redirected. All rew sites will redirect the non-www to the www.
Remember to take this out of your hosts file in a few days once the DNS is all caught up for your site otherwise if your site gets moved to another server you wont be able to see your site.
1 Responses to How to see a site before the DNS changes
REW Blogs User Stats
Currently Online Users:
2
Total Users:
2,522
Entries:
8,150
Unique Views:
7,937,828
Total Views:
8,372,867
Total Comments:
9,998
Total REW Points:
510
I am a PHP / MySQL Programmer for Real Estate Webmasters. I program custom IDX solutions as well as many other custom features on our clients websites. Read More
- This User's Stats
-
Blog Entries: 28Average Blog Rating: 4Unique Views: 16,477Total Views: 17,453Comments Posted: 15Comments Received: 28REW Points: 0
Rate this Post!
Share this Post
Print
Social Bookmarking
Contact Me
RSS Feed
Top Rated
REW Blogs RSS Feed
Thanks Steve, great tip! Simple enough, I always forget these steps.