Jump to content


- - - - -

Changing your local Hosts file


  • Please log in to reply
No replies to this topic

#1 wildweaselmi

wildweaselmi

    Administrator

  • Administrators
  • 1,024 posts

Posted 27 January 2010 - 10:20 AM

There comes a time that the DNS server(s) do not have the name to address resolution you need so just add it to your local hosts file.

Mac OS X 10.2 or later

Edit the /private/etc/hosts file.
For more information on how to use the hosts file, open Terminal and type: man hosts

Note: Editing this file requires root privileges.

I suggest typing while in Terminal
sudo nano /private/etc/hosts

It may be a good idea to flush the DNS Cache that is running by then typing the following after you save the hosts file
dscacheutil -flushcache






Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users