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.

When I set up the droplet (for lack of an imagination at the time), I set the name to “main”. I have one droplet, so that seemed fairly logical. So I set up root ssh access and type “hostname” and it gives me “main”. Same deal when I type “hostname -f”. Well, I’m trying to set up Exim4 to send mail from my Django app (I only need to send, not receive) and I added “127.0.1.1 main.mydomain.com main” and “<myip> main.mydomain.com main” to /etc/hosts. I then executed “service hostname restart” and “hostname -f” only returned “main”. I even rebooted (something I try to avoid doing) and it still comes back “main”. Not sure why this is…
I’m guessing, but I’m not 100% sure, that’s why when I use the command “echo test message | mail -s test email@email.com” I’m not getting an email at email@email.com (too many emails???). If it isn’t absolutely necessary to have hostnames set up to use exim or sendmail (does anybody know if sendmail is installed by default on Ubuntu LEMP droplets), I’d like to avoid it because its caused me such a headache.
Any help will render me eternally grateful to your apparent awesomeness.
50ff4e4b3c6c4999a12403b1ecda95
Erina Jones
05c643336f3a4578a0b414e11ed8fc
378226414b344d3d9ef057316f83e8
792d8c6065294b4da466a26b2a99e4
KFSys
fe9c7f1f3d29491e8c9905409bd159
LittleSeaGreenMorel
504ba8e5f370441283486b46f86d4e
Wilson Karl
KFSys
KFSys