Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've setup one of my domains to point to my Linode IP address:

server.mydomain.net > 1.1.1.1

I then went into my Linode DNS manager and set the rDNS entry to the above URI. I then set my hostname on the server with the following:

cat /etc/hostname
server.mydomain.net

cat /etc/hosts
127.0.0.1 localhost lil00-000 server.mydomain.net

Is this all that's required correctly setup my server's hostname? The IP correctly resolves to my server but I want to ensure emails won't get flagged as spam coming from my server due to a badly configured hostname.

share|improve this question

1 Answer 1

/etc/hosts only affects this machine, not any others. You must register your hostnames where you host your domain. For rDNS it is your internet connection provider who can set it up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.