/etc/hosts question
Well, my /etc/hosts currently is:
Code:
127.0.0.1 localhost.localdomain localhost 65.254.45.137 server.avalanchestudios.net server
Code:
127.0.0.1 server.avalanchestudios.net server localhost localhost.localdomain
server.avalanchestudios.net is my server hostname, and as long as I know it should not resolve to 127.0.0.1, rather to the external Internet IP (65.254.45.137).
By the way, I use WHM (WebHost Managar) panel, so maybe it's something I have to set there?
If not, how do I fix this or do I need to fix it at all (I remember that I got a warning with DirectAdmin panel telling that it may make e-mail not working correctly).
While I'm at it, I have another question.
I have 2 IPs:
65.254.45.137
65.254.45.138
The first one is my server's main IP, and also the IP of primary nameserver. Second one is only for the secondary nameserver.
Now, since they both actually 'points' to the same server, can I make my /etc/resolv.conf:
Code:
127.0.0.1 127.0.0.1
Currently it is:
Code:
127.0.0.1 65.254.45.138