Editing Hosts File to Redirect URL to different IP Address

hostsNetwork

When I edit my hosts file to redirect a URL to a specific IP address, nothing happens. My hosts file looks like this – 199.204.138.195 zionica.com this is in the directory /private/etc/hosts. I am not all that familiar with the Terminal nor it's commands so I'm having difficulty troubleshooting my problem.

The one thing I can think of is that I followed the following tutorial in an attempt to have SwitchHosts work in Firefox. https://addons.mozilla.org/en-US/firefox/addon/switchhosts/reviews/286862/ Is there a way to reverse these steps? Would that even solve my problem?

Best Answer

Try running dscacheutil -flushcache as it sounds like it's not correctly doing flushing the cache to update it.

Related Question