I'm web-developer and I need local domains. Before 10.7.2 update, I'm just fix /etc/hosts as I need, but new update crash this solution. How fix this new "feature"?


1 Answer 1


This answer on the question Lion “hosts” File Bug is relevant here as well.

All additional entries to the HOSTS file must be above the:


Make sure there is at least one line break after the last entry. Like so: LLL.localhost LLL.localhost

Although you probably can't tell, there is another line following the # symbol. One more thing to mention, using Space instead of Tab between and localhost might help too.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .