Results 1 to 6 of 6

Thread: Host File

  1. #1
    Host File

    Member Since
    Jan 19, 2007
    Location
    Pennsylvania
    Posts
    130
    Specs:
    MacBook Pro-2.16Ghz Intel Core 2 Duo-3GB RAM-120GB HDD
    Host File
    I am very new to the Mac world buta veteran in the Windows world. In windows you have the ability to setup a host file to point host names to specific IP addresses. When an application needed to do name resolution, it would hoit the host file FIRST prior to requesting a lookup to the DNS servers. Does the Mac have the ability to use a host file? If so where do you put the file?

  2. #2
    Host File

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)

  3. #3
    Host File

    Member Since
    Jan 19, 2007
    Location
    Pennsylvania
    Posts
    130
    Specs:
    MacBook Pro-2.16Ghz Intel Core 2 Duo-3GB RAM-120GB HDD
    Thank you very much. Since it was network related I only searched this forum and came up empty. Next time I'll search all forums.

  4. #4
    Host File

    Member Since
    Jan 19, 2007
    Location
    Pennsylvania
    Posts
    130
    Specs:
    MacBook Pro-2.16Ghz Intel Core 2 Duo-3GB RAM-120GB HDD
    Ok, I can open it but I can't save it because it is flagged read-only. is there a way to change that?

  5. #5
    Host File

    Member Since
    Jan 19, 2007
    Location
    Pennsylvania
    Posts
    130
    Specs:
    MacBook Pro-2.16Ghz Intel Core 2 Duo-3GB RAM-120GB HDD
    I guess I'm too new to this. Even though my account is an administrator, I guess to change the HOSTS file you need to be logged in as ROOT because once I logged in with the root account I was able to save the HOSTS file. Sorry for nagging everyone.

  6. #6
    Host File

    Member Since
    Mar 30, 2004
    Location
    USA
    Posts
    4,744
    Specs:
    12" Apple PowerBook G4 (1.5GHz)
    Yeah, it's owned by the System, so you have to either use sudo or log in as root.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Host file
    By bubba2012 in forum Switcher Hangout
    Replies: 4
    Last Post: 05-01-2012, 07:08 AM
  2. Help! Messed up my host file in /etc/!
    By white book in forum OS X - Operating System
    Replies: 1
    Last Post: 03-24-2011, 02:40 AM
  3. Host File Set-up
    By StupFD in forum OS X - Operating System
    Replies: 5
    Last Post: 08-08-2010, 08:08 PM
  4. Host File
    By barry in forum Switcher Hangout
    Replies: 2
    Last Post: 03-30-2009, 11:49 AM
  5. Host file modification
    By mastertag in forum OS X - Operating System
    Replies: 4
    Last Post: 07-11-2008, 03:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •