|
|
|
|
![]() ![]() |
Jul 15 2005, 02:23 AM
Post
#1
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 26 Joined: 11-July 05 Member No.: 9,276 |
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; CODE %windir%\system32\drivers\etc *where %windir% is the windows root directory like c:\windows In linux/unix, I believe it is here; CODE /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; QUOTE 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://domainname.com. So, considering this, we will have to design the trick for two host. This is the basic format of "hosts" file parameter CODE IP_address canonical_hostname aliases Then, in this example, you'll need to add these lines at the end of the "hosts" file. CODE 64.69.46.210 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. This post has been edited by BuffaloHELP: Dec 9 2005, 04:54 AM |
|
|
|
Jul 24 2005, 11:50 AM
Post
#2
|
|
|
Administrator ![]() Group: Admin Posts: 1,479 Joined: 11-June 04 From: Somewhere in Time & Space. Member No.: 1 |
Thank You for sharing this Information.
I am pinning this TOPIC [ Bypassing the DNS Propagation Issue ] |
|
|
|
Jul 24 2005, 11:58 AM
Post
#3
|
|
|
King of My WOrld ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 482 Joined: 11-October 04 Member No.: 1,665 |
Wow ... this is ver cool information there. Thanks !
|
|
|
|
Nov 6 2005, 02:41 AM
Post
#4
|
|
|
-=Hybrid Bus=- ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 742 Joined: 2-November 05 From: My hybrid bus (in NYC), a computer Member No.: 13,709 ![]() |
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)
|
|
|
|
Nov 6 2005, 07:14 AM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 873 Joined: 30-July 04 Member No.: 246 |
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.
|
|
|
|
Nov 6 2005, 07:27 AM
Post
#6
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,489 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
Unpinning this topic. Added to HELP > TRAP17 README. Moving to Internet > General.
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 11th October 2008 - 05:12 PM |