What better hostname? or


What better hostname? You have any rules? What’s the difference? or



I am not sure if there are any specific rules, but I like to use one main domain for each droplet, and give the hostname the same name.

I find it helps me to keep track of what droplet I am using.

If you use a sub-domain, the hostname will be truncated at the ., so when you ssh in your will get:


If you use a full domain you will get:


When I am logging in to multiple droplets throughout the day, I find it helpful to be able to glance at a terminal and see that I am logged in to me@mydomain

Beautiful, thank you. I will use only

Submit an 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.

Whichever you like the most.