How to edit your hosts file

By editing your PC or Mac’s hosts file, you can manually point a domain to an IP address. This means that you can work on and view your website before your domain has been transferred to Texo.

Windows 8 or 8.1

Unfortunately Windows 8 makes it annoying to open apps as administrator — but it’s not too difficult. Just search for Notepad, then right-click on Notepad in the search results list, and choose to run it as administrator.


Once you’ve done so, open up the following file using the File -> Open feature.


Then you can edit as normal.

Windows 7

To access the hosts file in Windows 7 you can use the following command in the Run Line to open notepad and the file.

notepad c:\windows\system32\drivers\etc\hosts


Once notepad is open you can edit the file.


Open the Mac’s Terminal.
You may either type Terminal on the Spotlight, or by going into Applications > Utilities > Terminal.

Open the hosts file for editing.
In the terminal window you just opened copy/paste the command string below, and press return.

sudo nano /private/etc/hosts

You’ll be prompted to enter your Mac user’s password. NOTE: you won’t see the cursor move. This is normal, so press return when done.

You can now edit the hosts file. When you’re done, press Ctrl + o to save the file.

How to point a domain to Texo

Add a new line to the end of the hosts file, with the Texo server’s IP address and the domain name:

(replace with your domain!)

If you’re not sure which Ip address to use, please refer to the Welcome email we sent you when you signed up, or log into your client area, click on Services > My Services and then on the correct hosting account, where the IP address will be displayed.