How to preview website before your domain is active. Print

  • 0

You can view your site on javapipe server before you register, transfer or update NS to point to new server using your local DNS. This allows you to preview your website from your browser as you would if your domain name was actively pointing to a specific server.

This is accomplished by updating the hosts file within your operating system.

File locations:
Linux: /etc/hosts
Mac osX: /private/etc/hosts
Windows: c:\windows\system32\drivers\etc\hosts

You might need super user privilegdes to access these files or sudo.
Open them in an text editor and on a new line enter

<Server IP> <>

For example say the Javapipe server is and your domain is then your host entry will look like this:

Example hosts file from osX (linux is similar)


# Host Database


# localhost is used to configure the loopback interface

# when the system is booting.  Do not change this entry.

##       localhost broadcasthost

::1             localhost

Save the file and then test in your browser on the same machine.

Was this answer helpful?

« Back