etc host file problem

Discussion in 'Mac Basics and Help' started by marceff, Dec 4, 2013.

  1. marceff macrumors newbie

    Joined:
    Dec 4, 2013
    #1
    For some reason I edited the etc host file on snow leopard. But as I connect to it opening safari, a blank page appears. I have done the same on another mac (a mac book) with same os SLeopard and it works perfectly.
    Any idea why?

    Thanks for help (I'm getting crezy):confused:
     
  2. pastrychef macrumors 601

    pastrychef

    Joined:
    Sep 15, 2006
    Location:
    New York City, NY
    #2
    You must have mistyped something. Try copying the working host file from the MacBook to your computer.
     
  3. marceff thread starter macrumors newbie

    Joined:
    Dec 4, 2013
    #3
    Thank you for your replay Pastrychef.
    This is the etc host:

    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
    89.31.72.125 domain.com
    in red is what I added.
    This is just the same of macbook. Of course I have other file connections which belongs to applications. So if I copy the macbook host file then I will lose all other configuration. This appears a very odd question, also because I have done the editing in the recent past without any problem at all. :mad:
     
  4. pastrychef macrumors 601

    pastrychef

    Joined:
    Sep 15, 2006
    Location:
    New York City, NY
    #4
    I would triple check the typing and then try repairing permissions.
     
  5. marceff thread starter macrumors newbie

    Joined:
    Dec 4, 2013
    #5
    I could type blinded, as I typed hundreds tyme...

    what do you mean by "repairing permissions"?

    One more question: as I ping the url, it starts pinging and doesn't stop, is it normal? Or it should just give you IP and domain name?

    Sometime, as I enter "dscacheutil -flushcache" it replies "unknown command", but not everytime.

    Could it be the problem?

    Thanks for help
     
  6. pastrychef macrumors 601

    pastrychef

    Joined:
    Sep 15, 2006
    Location:
    New York City, NY
    #6
    1. Launch Disk Utility.
    2. Highlight your boot drive on the left part of the window.
    3. Click the Repair Permissions button on the bottom of the main part of the window.

    Yes, this is normal.

    This is strange. It should not give you the "unknown command" response.
     

Share This Page