Results 1 to 1 of 1

Thread: Editing the hosts file on your computer

  1. #1

    Default Editing the hosts file on your computer

    If you're not ready for your domain name to be pointed to our servers, one of the things you could do to access your site on our server is to add a line to the hosts file on your computer.

    When resolving a domain name, the operating system first checks the computers hosts file, if there is an entry for the domain then it'll use that IP instead of checking with the DNS server. So if you add an entry to the hosts file for your domain name, your computer will use that specified IP address regardless of what IP the DNS is set to.

    This is very simple to do.

    On Windows:
    Note: On Windows Vista/Windows 7 or later this requires administrative privileges.
    1. Go to Start > All Programs > Accessories
    2. Right-click on Notepad and select "Run as administrator"

    3. Go to File > Open
    4. Go to C:\Windows\System32\drivers\etc, Change the file type to "All Files", and open the "hosts" file (see screen shot below)

    5. Add a new line at the bottom of the file in the same format as the example below:

    On Linux/Mac:
    1. Edit /etc/hosts file using a text editor and a line at the bottom of the file just like for Windows (above)
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts