Portal Home > Knowledgebase > Advanced > How can I see my website before I update nameservers?

How can I see my website before I update nameservers?

To test your domain before your DNS progigates or you change your Name Servers. You would have to edit the hosts file on your computer to point to the IP of the domain here on your account.

On your desktop computer open the file:

Windows Computers

Mac Computers

This file looks like this (obviously this is a copy of the Windows version of the file, the Mac OS X and Linux versions are exactly the same, but without the instructions at the top):

# 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:
# rhino.acme.com # source server
# x.acme.com # x client host localhost youdomain.com

Edit and save the file (change 123.123.123 to your correct IP and change yourdomain to your real domain), every time THIS computer looks up yourdomain.com it will IGNORE whatever DNS says, and use the IP This way you can put the IP address of the site on your new server, and not have to change what is published in DNS to test.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
What is DNS? (Views: 853)
What is a subdomain? (Views: 835)