February 23, 2024
Command (⌘)
+ Space
and typing “Terminal.”
/etc/hosts
FileIn the Terminal, type the following:
sudo nano /etc/hosts
Press Enter. You will be prompted to enter your password. Note that you won’t see the characters as you type your password. This is normal for Terminal.
101.0.100.100 www.yourwebsite.com.au
Make sure to place the IP address first, followed by at least one space (or a tab), and then the domain name.
Control (Ctrl)
+ O
.Enter
to confirm the file name to write.nano
by pressing Control (Ctrl)
+ X
.More Post to read
Essential Security Checks for Your WordPress Website
September 17, 2025
Workflows That Work: How Make.com and n8n.io Are Saving Small Businesses Time
June 16, 2025
Cybersecurity for Healthcare Websites: What You Need to Know (and Where to Look)
5 Essential Features for a Small Business Website
June 10, 2025
What to Do If Your Website Starts Sending Spam Emails
April 15, 2025
Simple Membership Plugin: Setup
January 31, 2025
Essential Tools for Checking ARIA Compliance in Web Development
October 1, 2024
Secure Your WordPress Site with a Robust .htaccess Configuration
September 3, 2024
Setting Up a New Business: Should You Choose Google Workspace or Office365?
August 29, 2024
How to Add a Domain that Works with All Google Maps Platform APIs
July 3, 2024
June 20, 2024
May 11, 2024
April 23, 2024
SQL URL Replacer – From Local to Live
April 21, 2024
Building an Accessible Accordion Component