Jump to content
xisto Community
Sign in to follow this  
whafizi

For Those Who Cannot Wait For Dns Propagation DNS propagation takes time

Recommended Posts

Actually this is not a request. This is an information that i think should be shared with new hosted members. Cannot wait to get your DNS propagated? 48Hrs is too long. Really wanted to see how your website is going to be? Then, you've just read the right article. Even if your DNS is not yet propagated, you can always "fool" your PC into believing that it has been properly propagated. This is how you do it. Firstly you will need to find a file named "hosts" and open it using any text editor. In windows, the file is in here;

%windir%\system32\drivers\etc
*where %windir% is the windows root directory like c:\windows In linux/unix, I believe it is here;

/etc/hosts
To fool your PC, you need to examine the IP address of your hosting. When you created your hosting account, please note anything like this;

WWWAcct 9.2 © 1997-2005 cPanel, Inc. Using Delegated Ips List! +===================================+ | New Account Info | +===================================+ | Domain: domainname.com | Ip: 64.69.46.210 (n) | HasCgi: y ..........................................................................

Please note the IP address, 64.69.46.210 That's where your site is hosted. The next step is the most vital one. This is the core of the trick. In this example, your domain name will be domainname.com and its IP address is 64.69.46.210 You will want have it accessible from these addresses; http://www.domainname.com/ and http://www.domainname.com/. So, considering this, we will have to design the trick for two host. This is the basic format of "hosts" file parameter

IP_address canonical_hostname aliases
Then, in this example, you'll need to add these lines at the end of the "hosts" file.

64.69.46.210 http://www.domainname.com/ 64.69.46.210 domainname.com 
*please note that we do not add the prefix "http://" infront of the domain names. Please save the file, and you'll be able to browse to your site immediately! Note: If you want to access your site using other computers, you'll need to do the same steps to them.
Notice from BuffaloHELP:
Updated hosting IP address.
Edited by OpaQue (see edit history)

Share this post


Link to post
Share on other sites

Thank You for sharing this Information. I am pinning this TOPIC :) [ Bypassing the DNS Propagation Issue ]

Share this post


Link to post
Share on other sites

Thanks for the information. While we're on the subject, is the Hosts file used soley for keeping track of the IP addresses associated with domains? I might find good uses for the file... (probably not)

Share this post


Link to post
Share on other sites

The Hosts file redirects traffic based on either IP addresses or canonical names. This thread is very old - despite being a sticky, you might consider asking questions in new threads.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.