Set a fully qualified domain name (FQDN) hostname on your server

I was reading on installation instructions for iredmail and it says you need FQDN name in etc/hostname and etc/hosts. Curently I in hostname I have have veepme In in hosts I have localhost veepme what should I change veepme to or should I leave veepme and add a FQDN to the two files.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I have a .us and am running running it on on the droplet as a web server and it works. but is not so what goes in hostname and hosts? <br> <br>I am guessing <br> <br>hosts file gets veepme <br>hostname gets veepme <br> <br>I am going by this install instruction. <br> <br>Possibly nothing needs to be changed or added to hosts or hostname because my DNS record takes care of it? <br>

You need a name that uniquely identifies your location in the DNS tree. In order for it to work for its intended purpose (e-mail, in your case), it needs to be a name that has a DNS record. I’m pretty sure you’re missing at least a top level domain (com, org, net, etc.).