Blog Post: How to Edit Your Hosts File on a Mac Computer
Follow these steps to edit your hosts file:
- Open Terminal by pressing CTRL + Spacebar or open the Spotlight search and search for "Terminal"
- Press the Enter key on your keyboard to open Terminal
- Type sudo nano /etc/hosts
- Type in the Password to your computer (it won’t show the text in Terminal, but the text is actually being entered). Once you have typed your Password press the Enter key
- Press the DOWN arrow key to get to the bottom of the hosts file
- Add your Shared IP along with your domain to the hosts file
- Hold the CONTROL button and press the letter O (CTRL + O) and press ENTER
- Hold the CONTROL button on your keyboard and press the letter X (CTRL + X)
If you have any questions about this practices please submit a ticket or contact support. We'd be more than happy to assist you!
Looking for a reliable Windows or Linux hosting with Award Winning Customer Support?
Grab your hosting today with a 20% discount. All plans come with our 60 Money Back Guarantee!
Check out our plans & promotions on our website -- https://www.peopleshost.com/