Report this

What is the reason for this report?

What should be my host name?

Posted on July 25, 2015

I will be hosting my site on a Ubuntu 14.04 OS on my droplet. I will also be hosting my mail server later.( I’ll be using gmail for business actually. Some say that your hostname should be Fully Qualified Domain Name if you are going to setup a mail server later. So should I keep my hostname as abc.com or www.abc.com ( FQDN) ? And also is it true that droplet’s hostname can’t be changed later? I am new to this stuff . Please guide me.



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.

A server host name is normally like: servername.domain.com

servername can be anything be it www or another name domain.com is a domain you have registered and point at the server normally

The host name of the droplet can be whatever you like, it doesn’t have to be a domain. For example: cool-server-123

To change the host name you need to edit /etc/hostname and /etc/hosts and then execute service hostname restart.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.