How do I change my hosts file? Or, how can I see my domain before DNS changes propagate?

To see your domain on our system before a DNS change takes effect, either:

1) Edit your hosts file on your PC.

If you are using Windows, use “Start”, “Find”, “Files and Folders” to find a file in your windows directory (or WINNT\system32\drivers\etc) called “hosts”. Verify that the file is not “read only” by right clicking it, and choosing it’s Properties. Then open the file for editting with Notepad. There should already be an entry for “localhost”. Follow that format when you insert your domain and our IP.

On Windows98 and Windows95, the order may be ‘hostname’ then ‘IP address’. On Windows2000 and WindowsME, the order is ‘IP address’ then ‘hostname’
127.0.0.1 localhost
204.11.246.1 http://www.example.com

Then save this altered hosts file and close notepad. Make sure Windows did not silently save the file as “hosts.sam”. The filename has to be “hosts”. You may also need to reboot for the change to take effect. Next time you try to go to “www.example.com”, your browser will try to find that domain at the corresponding IP instead of looking up the IP through DNS.

Mac OS 9’s hosts file format is based on RFC-1035. Mac OS 9 keeps its HOSTS file in the Preferences folder under the System folder. Edit this file and add a line for each host that you would like to map an IP to:
http://www.example.com 204.11.246.
 
To find the hosts file in OS X’s graphical interface:
1.  Open Finder.
2.  In the Go menu, select “Go to Folder”
3.  Type /etc for the folder name.
4.  In the list of files that appears, you should find hosts. Double click it to open it in a text editor.
5.  As in the earlier examples, the format of the file is: “204.11.246.1 http://www.example.com”.
On unix-based systems, as well as OS X’s terminal, you can find the hosts file at /etc/hosts.

2) Or use thisother method instead.

Once you have modified your hosts file, you can flush your DNS so that you can see your new changes more quickly. Depending on your OS, there are different ways to do this:
·        For Mac OS X the command is:
lookupd -flushcache
·        For Windows the command is:
ipconfig /flushdns
 

Virtual PC – Joining a new domain

If you have problems signing onto the ourcheshire domain, follow these steps and you should be able to sign into your VPC (Virtual PC) using the ourcheshire domain.

Log-in to the PC workstation as local administrator. If you cannot logon as local administrator, try to unplug the network cable and logon to the computer by using a domain administrator user that used to logon on the PC before, by using cached logon credentials feature.Go to Control Panel, then click on System icon, then go to Computer Name tab.Unjoin the computer from the domain by clicking on “Change”.

You should see that Domain button is now selected. Remember your domain name in the text box. Select (Click) on “Workgroup” to remove the computer from the domain, and put any workgroup name in the text box (e.g. workgroup).Click OK to exit.Restart the computer (optional)Go back to the Control Panel, launch System properties and then go to Computer Name tab, and click on “Change”.

Rejoin the domain by uncheck the Workgroup button and select (check) Domain button, and put in the domain name noted above into the text box.Click OK to exit.Reboot the PC.