I am no expert in DNS or IPv6. I am using a brand new Mac with what seems to be the default:
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost
I have enabled Apache. With the above hosts file, localhost is not working in the browser. From what I have read I think it's ipv6 that I haven't configured Apache for.
What I tried:
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 127.0.0.1
Everything works fine now. My question is, is mapping "::1" to "127.0.0.1" ok? Am I breaking/losing something in DNS by doing this. If so, I am not clear how to edit my conf file to allow apache to answer to localhost.