If I say to you, to view your website, you will need to change your hosts file, you will more than likely turn around to us and say “what?”.
The internet works with a series of signposts, these are controlled by DNS settings, and tell a website user where to find that particular website.
Changing your hosts files simply tells your computer to ignore these DNS settings and look in a different place. This is how you can see your website that is in development without taking your old website down.
So how do you change your host file?
- Open up your windows start bar (if on Windows 10, please right click start bar, hit search and search for notepad this way)
- Go to “all programs”
- Open up “accessories” and right click “notepad”
- When you are viewing the popup menu, click “run as administrator”
- In the dialogue box that pops up, click yes.
- Navigate, in notepad, to File -> Open
- Navigate to Computer -> Local Disk -> Windows -> System32 -> drivers -> etc (this will appear as though no files are within the folder)
- On the bottom right, just above the “open” button, click the dropdown that says “Text Documents (*.txt)” and select “all files”
- Double click “hosts”, this will open up the hosts file.
- We will give you the details to enter on this file to view your website.