The following will guide you on how to set up the host file, which function is redirecting the address to the IP address you intend to host the website, for testing purposes.
WINDOWS OPERATING SYSTEMS
- Windows 8 or 8.1
- Search for notepad in the search function
- Right click notepad and select “Run as administrator”
- Once done, open up the following file using File > Open feature
- Windows 7
- Click on the Windows Start button on the lower left, and Run
- Type in the following: notepad c:\windows\system32\drivers\etc\hosts
- Press “OK”
Once the host file is opened up, you can edit the file. In this example we will use 188.8.131.52 as the ip address and www.google.com as the domain.
Make sure to save the changes after you are done, now you can test the site on your browser.
MAC OS X (Any version)
As the nameservers are not yet modified to Vodien, you may use the below steps to cross check the same from your Mac Machine:
1. Launch Terminal, found in /Applications/Utilities/ or launched through Spotlight.
2. Type the following command at the prompt:
sudo nano /etc/hosts
3. Enter the administrator password when requested, you will not see it typed on screen as usual with the command line.
4. Once the host file is loaded within nano, use the arrow keys to navigate to the bottom of the host file to make your modifications.
Add the following:
100.100.100.100 with the actual IP address and replace
domainname.com with the actual domain name.)
5. When finished, press Control+O followed by ENTER/RETURN to save changes to /etc/hosts, then press Control+X to exit out of nano.
6. Quit out of Terminal when finished.
Note: For the website to work with the actual IP address again, you need to undo the changes you have done in the /etc/hosts.
If you have further questions, please do not hesitate to contact our support team.