6 Replies Latest reply: Jan 30, 2013 9:17 PM by t123
corr429 Level 1 Level 1 (0 points)

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)
  • 1. Re: hosts file
    ds store Level 7 Level 7 (30,305 points)

    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

  • 2. Re: hosts file
    Niel Level 10 Level 10 (242,055 points)

    It's exactly the same in 10.8.

     

    (69957)

  • 3. Re: hosts file
    corr429 Level 1 Level 1 (0 points)

    What you're telling me to do, shows the same exact thing that is saved in my hosts file in the folder etc. Is this what it is supposed to show or is it supposed to show the actual original that is supposed to be used for mountain lion? Either way, the two of those match.

     

    EDIT: Apologies, did not read the last part of that. Copy and paste your entire results, not just the last line like I did.

     

    ##

    # 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

    74.208.10.249 gs.apple.com

  • 4. Re: hosts file
    ds store Level 7 Level 7 (30,305 points)

    Thanks Neil.

  • 5. Re: hosts file
    ds store Level 7 Level 7 (30,305 points)

    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.

  • 6. Re: hosts file
    t123 Level 1 Level 1 (10 points)

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