1. What is this?
In the following tutorial we will explain how you can view your website on our hosting platform,
without the need to edit your existing records at your domain provider.
This method can help you simplify the development of your new website on our hosting if you don’t
want to affect the live version on your previous hosting. It can also help you develop your website on the domain name
which you’ll register in future.
Basically, the 'hosts' file overrides your integrated DNS client, which is used every time you try to
load a website with a top-level domain (TLD) via your browser. So instead of this DNS client, to
send requests to the worldwide domain name servers (to find out where this website is hosted), it
will start directly to route requests to the web server of the IP address defined.
The file is contained in each operating system no matter if it’s Linux, Windows, Mac and etc.
1.2 Collect the needed information, like Server IP address and your domain name.
Before starting, you should be aware of which domain name you are about to use and it should be something like test-site.com (we will use this name as an example in this tutorial).
The second essential thing is the Server IP address which you can acquire via your Dashboard, please check the next screenshot to see where exactly you can find the one assigned to your service:
2. In basic terms, here is how you can change the 'hosts' file:
(For Windows Users)
Click Start > All Programs > Accessories.
2.1 Right-click Notepad and select Run as administrator.
(If you are using windows 10 you could also write Notepad in your search box and then click the right
button over it to Run as administrator)
2.2 Click Continue on the Windows needs your permission UAC window.
2.3 When Notepad opens, click File > Open.
2.4 In the File name field, copy & paste:
2.5 Click Open.
2.6 Make the necessary changes to the file.
2.7 Click File > Save to save your changes.
It is nearly identical for other Operating Systems, just open the ‘hosts’ file via file editor under
administrative privileges and edit your file.
You can check out this article on Wikipedia in order to find out which might be the correct path for your operating system:
If you get stuck at any point please submit a ticket to our Level 2 Support here:
Read more about our datacentre and CDN point in London, UK.
Visit our blog for more WordPress news and tips.
Did you know that WPX service is already available in New Zealand?
This article can help you to pick your hosting company.
Head over to our hosting service in France.
Try WPX in Singapore!
Our extremely fast hosting is in Brazil!
WPX clients share their opinion. Read more here.
Discover more about WPX hosting in the Netherlands.
See more feedback from our community on Facebook.
WPX service is already available in Australia!
Get your special WPX offer here!