To perform a host file edit:
1. Press the Windows key.
2. Type Notepad in the search field.
3. In the search results, right-click Notepad and select Run as administrator.
4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts.
5. Add the IP of the new server followed by a space and the domain name / subdomain
6. Click File > Save to save your changes.
You can then browse your site to test it. Once you have tested the site, remove the lines from your host file and save it.
- testing site, host file, preview
- 5 Users Found This Useful
To edit your hosts file on your Mac computer. Open the Mac's Terminal.You may either type...
This issue related the Parallels Control panel (https://www.myhostcp.com)If you are seeing the...