Old Jan 10, 2009 | 02:44 PM
  #40  
Turbocabbie's Avatar
Turbocabbie
Top Cab !!
 
Joined: Aug 2006
Posts: 3,989
Likes: 1
From: .
Default

If its a DNS problem you can help this with a hosts file.
Before a computer looks up a domain on a DNS service it references a hosts file on your own computer which can do this job for you (and did so in the days before DNS servers were widespread)

Please note this post only pertains to machines with Windows XP installed.

Access to the websites can be listed in your HOSTS file.

The first step in editing your HOSTS file is to find it.

My Computer > C: (or whatever drive Windows is on) > WINDOWS > system32 > drivers > etc > hosts

Note: If you aren't sure where My Computer is or you just want to use a keyboard shortcut to open it, you can hold down the Windows key on your keyboard while you press the “E” key.

Right-click on the HOSTS file, and click Open. A window will appear asking what to open it with; find Notepad, select it, and click OK.

If you've never edited your HOSTS file before, this is what it should look like:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
To add websites to your HOSTS file , use this as a guideline:
92.48.119.6 www.passionford.com
After you've edited your HOSTS file, save the changes made (File > Save).

You’re done!

This will by pass the DNS service and use the lookup from your own machine.

As a matter of interest you can also block websites and popups in this manner, if you use the loopback address for your system (127.0.0.1)

In this situation, if you went the passionford.com the browser would look for the domain on your own computer and as such report that it is unable to find it.

note that when passionford.com moves to the US server you may need to update the ip address information in your hosts file

Last edited by Turbocabbie; Jan 10, 2009 at 02:47 PM.
Reply