Home
»
Knowledgebase
»
DNS
»
How to update HOSTS file and what it help?
How to update HOSTS file and what it help?
How to update HOSTS file and what it help?
It takes times for you to register or transfer your domain to us due to DNS propagation. During these moment, your domains do not point to our server yet. However you can still build your site and perform the test by simply modifying the HOSTS file in your local machine. After that, your browser resolves your domain into our IP temporary.
To update your host file, please follow the steps below.
find the HOSTS file
Windows 95/98/Me : c:\windows\hosts
Windows NT/2000/XP : c:\winnt\system32\drivers\etc\hosts
Windows XP Home : c:\windows\system32\drivers\etc\hosts
Linux and other Unix-like operating systems: /etc/hosts
Mac OS 9 and earlier: System Folder: Preferences or System folder (format of the file may vary from Windows and Linux counterparts)
Mac OS X: /private/etc (uses BSD-style Hosts file)
OS/2 and eComStation: "bootdrive":\mptn\etc\hosts
Symbian 1st/2nd edition phones: C:\system\data\hosts
Symbian 3rd edition phones: C:\private\10000882\hosts, only accessible with file browsers with AllFiles
capability, most are not.
You should be able to find a file called "hosts", use notepad to open it
You should be able to find a line "127.0.0.1 localhost" in the end of the file. Press "enter" to go to next line.
Add the record you want. For example. "216.10.242.101 www.mydomain.com". Then saved.
Now when you browse www.mydomain.com in your computer, it will go to the IP 216.10.242.101. (Please note that www.mydomain.com is different from mydomain.com)
Please remember to delete the lines you added after your test.
Tags:
DNS
,
hosts file
Add Your Comments
Name:
*
Email Address:
Web Address:
Verification Code:
*
Details
Last Modified:
2/5/2009 6:49 PM
Last Modified By:
Mark
Type:
FAQ
Article not rated yet.
Article has been viewed 2,455 times.
Options
Email Article
Print Article
Bookmark Article
Social Bookmarks
Comments RSS
Export As PDF
Powered By InstantKB.NET 2.0.4 © 2009