I had the hardest time setting up Mura today on my 2008 MacBook Pro. It wasn’t even the fault of Mura, Apache, or Tomcat/Railo but of my hosts file.

This post got me over the hump: Mac OS X Lion /etc/hosts file.

What a weird change. I also hit a wall with some Apache config file changes but I’ll fool w/ those later.

Due to the linked site not working any longer, I am copying the post here. The original post is from Gargoyle’s Blog.

Just doing some early testing with Lion to make sure I can get all my dev environment up and running and have just came along a little quirk.

This is how the default hosts file looks:-

# Host Database
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##	localhost	broadcasthost
::1             localhost
fe80::1%lo0	localhost

Nothin unusual. However, if you are used to adding lines like:-

" local-test-app"

to the end of the file, then it might throw you off a little bit as it seems you now have to have them above the fe80::1%lo0 line.