If you are moving a website to NuHosting, you can check it works on our servers before pointing your domain at us. That way visitors only see the new site once you are happy with it.
Using your computer’s hosts file
The hosts file tells your computer where to find a domain, overriding DNS on that computer only.
- Find your server’s IP address in your welcome email or on the service page in My NuWeb.
- Open the hosts file as an administrator:
- Windows:
C:\Windows\System32\drivers\etc\hosts(open Notepad as administrator, then open the file). - Mac: open Terminal and run
sudo nano /etc/hosts.
- Windows:
- Add a line with the IP address and your domain, for example:
203.0.113.10 yourdomain.co.uk www.yourdomain.co.uk - Save the file, close your browser completely and open your website.
You are now seeing the copy on NuHosting. Remember to remove the line when you have finished, or your computer will keep ignoring the real DNS.
