MacResource
Editing the hosts file on OS X - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: Editing the hosts file on OS X (/showthread.php?tid=1618)



Editing the hosts file on OS X - Greg the dogsitter - 01-05-2006

I want to create an entry, such that requests to a particular website actually point back to localhost.

Let's say the website is BadSite.com, with an IP of 123.123.123.123.

Do I enter either:

127.0.0.1 badsite.com
or...
123.123.123.123 localhost

Thanks!


Re: Editing the hosts file on OS X - Seacrest - 01-05-2006

127.0.0.1 badsite.com


Re: Editing the hosts file on OS X - Greg the dogsitter - 01-05-2006

Thanks!