Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
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.
Hey kikorugeria, Your first entry in /etc/hosts doesn’t actually include a fully qualified domain name (“iredmail-testEmailServer” is just the short hostname, a FQDN would look like “iredmail-testEmailServer.example.com”).
Is “iredmail-testEmailServer” the name of your droplet? If so, it isn’t immediately relevant to the configuration inside.
Try this:
Have ‘iredmail’ in /etc/hostname
This means the short hostname of your droplet is simply ‘iredmail’
and in /etc/hosts have
127.0.0.1 iredmail.example.com localhost localhost.localdomain
This would make your FQDN for the host to be ‘iredmail.example.com’
If you were planning on using your own domain you could change example.com to whatever you domain is, for example iredmail.kikorugeria.com (this would also require configuring your domain name in digital oceans admin panel)
You can verify that the FQDN is correct by running the following command:
hostname -f
which should display ‘iredmail.example.com’ (or similar) and not just ‘iredmail’.
After this you should be able to run iRedMail.sh
Hope this helps!