Skip navigation

hosts file

21291 Views 6 Replies Latest reply: Jan 30, 2013 9:17 PM by t123 RSS
corr429 Level 1 Level 1 (0 points)
Currently Being Moderated
Sep 19, 2012 3:04 PM

Hello,

 

 

I've spoken to apple, nobody knows that they are doing. Nobody knows what a hosts file is or what it has to do with. Went to the university village apple store and they pretty much just stood there. Usually they are pretty knowledgeable but this time was just like ghosts were in apple peoples bodies.... Nonetheless.

 

I too have been googling and looking through discussions for an actual original of the hosts file. Nobody seems to have it, they are all from windows, they are all remakes, nonoriginals, etc. Could someone send me a copy of theirs? I am running mountain lion. All I need is apple servers on the very end. I did that cacheflush thing and it didn't work.... Still gives me the same error.

 

 

My email should be in my profile shortly as I am getting the feeling apple doesn't like their hosts file originals to be just floating around.

 

Thanks!!!

MacBook, Mac OS X (10.7.2)
  • ds store Level 7 Level 7 (30,305 points)
    Currently Being Moderated
    Sep 19, 2012 3:51 PM (in response to corr429)

    So you need a copy of Mt. Lions hosts file basically.

     

    I'll have someone paste one here.

     

     

     

    If anyone gets here and wished to help, open your 10.8 Terminal and type the following:

     

     

    sudo pico /etc/hosts

     

     

    and press enter, then copy and paste the result in your post.

     

     

     

    You should use TextWrangler to create/open/edit the /etc/hosts file and paste the text in, as it's a GUI and safer than Terminal, since it lacks the clipboard.

     

     

    The hosts file here in my post is from 10.6.8 so I don't know if that is the same for 10.8 or not.

     

    Stop a Mac from connecting to certain sites

  • Niel Level 10 Level 10 (235,235 points)
    Currently Being Moderated
    Sep 19, 2012 3:53 PM (in response to ds store)

    It's exactly the same in 10.8.

     

    (69957)

  • ds store Level 7 Level 7 (30,305 points)
    Currently Being Moderated
    Sep 19, 2012 5:38 PM (in response to Niel)

    Thanks Neil.

  • ds store Level 7 Level 7 (30,305 points)
    Currently Being Moderated
    Sep 19, 2012 5:46 PM (in response to corr429)

    Original /etc/hosts file should look like this:

     

    ##

    # Host Database

    #

    # localhost is used to configure the loopback interface

    # when the system is booting.  Do not change this entry.

    ##

    127.0.0.1       localhost

    255.255.255.255 broadcasthost

    ::1             localhost

    fe80::1%lo0     localhost

     

    this next line you have is a addition and not part of the original file

     

    74.208.10.249 gs.apple.com

     

     

     

    Basically your assigning a IP address of 74.208.10.249 to gs.apple.com, whatever that is.

     

     

    If you didn't make this addition, you should remove that line and return the file to the original contents as Apple may need to change server IP's and you'll still try to connect to 74.208.10.249 and recieve errors someplace.

     

    Apple will notify the DNS servers of new IP changes, you don't need to hard wire it into your machine.

  • t123 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jan 30, 2013 9:17 PM (in response to ds store)

    I noticed my hosts file says 0.0.0.0 localhost.  Is that a problem?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.