Preview your website

If your domain name is not pointing to our servers and still on your old hosting provider's space, you might want to upload your data and preview if everything looks and works fine before modifying your DNS to our servers. You can do this without a problem but it will require you to modify your computer's hosts file and force our server IP when you look up your domain.

This procedure only allows the computer(s) set up to preview the site. We have an alternative solution to the hosts file modification, but require the previewed domain to be an add-on domain to your account.

Get your server IP

Before you start, you should identify your hosting server's IP address. You can obtain the IP address in the cPanel interface; the IP would be listed at the right-hand side of the main window, under Shared IP Address.

Modifying your Hosts File

To preview the content of a website without modifying the DNS configuration of a domain is to (temporarily) force your computer to make the domain point on a specific IP address. Follow these steps.


Under Windows (10 in this example)

Open up your hosts file with a text editor (such as notepad). To do so, press WindowsKey+R, paste the following shortcut, and finally press Ctrl+Shift+Enter (to run as administrator):

%windir%\system32\notepad.exe %windir%\system32\drivers\etc\hosts

You may also go review the file manually, it is located here: C:\windows\system32\drivers\etc\hosts. The file editor needs to be executed as administrator.

Hosts file

Underneath the last entry of the file, type in a line like this (replace by your domain name and the IP address of the server on which you are hosted) :


Now, and will resolve to the IP address specified and load what you put on our servers!


Under Mac OS X

The procedure becomes a bit more complicated due to common Mac OS restrictions. You need to enter these values in the hosts file through a terminal window.

First, locate the Terminal, which is found in Applications > Utilities. You can also make a search in Spotlight.

In the Terminal window, enter the following:

sudo nano /etc/hosts

Hosts line
You will be prompted to enter your computer password. What you type will not be displayed, so take your time and press 'enter' at the end.

The content of the terminal will change into a terminal-style text editor.

With the arrow keys on the keyboard, place the flashing cursor under the last entry. Press enter to make line returns. Then, enter the IP and domain name you wish to preview.


To save the modifications, you must press the CTRL key and the letter o on your keyboard at the same time. This will prompt a message at the bottom requesting which file to overwrite. Simply press 'enter' on your keyboard.

Then, to exit, press CTRL and the letter X at the same time.

NOTE: Having an entry like that in your host file will override any DNS configuration currently in place, locally on your computer.

Alternative preview method for add-on domains

If the main domain of your account is pointing to our servers and that you have added an add-on domain, you can easily preview the add-on domain. When you add a domain to your account, it creates a sub-folder with the name of the domain (or whatever directory name you specified). To preview, then, just go to:



Please sign in to leave a comment.