Confusion over Server's Hostname

Jon12345

New member
Joined
Apr 25, 2024
Messages
9
I understand I should be changing the Server's Hostname. But why? Is that so when I log into DA admin, instead of the complicated default url, I end up just typing in server.mydomain.com?

Let's say I have a domain at namesilo (which I do). What do I do with the nameservers for that domain if i want to use it for the servers hostname? And does that affect the nsq and ns2 in the Admin Settings > Server Settings? I am hosted with Hetzner, so I have the server IP address. Am I supposed to set that ip address to my namesilo domain?

I seem to be caught in brain fog on this one.
 
It depends all on what you want. But if you want both using SSL, using your own nameservers and have a good way to send mail, then yes I would use my own FQDN hostname.
Why? Forst of all it's just could basic sysadmin server practice to have a correct FQDN hostname on a server.

Next to that, it's indeed easyer when needed to type your server.mydomain.com name than 192.168.10.1-da.direct which domain isn't owned by you.
It's done this way to people can start directly using their Directadmin in SSL mode.
There is a thread somewhere which explains several benefits of having own hostname, so you can search for it if you want.

The server's hostname normally does not affect the ns1 and ns2 in the admin settings. However, I would use something simple for nameservers, makes life a bit easier, so for example ns1.mydomain.com instead of ns1.server.mydomain.com also.

So you have a domain at namesilo. Lets call it jon12345.com. Then in DA, configure your nameservers (if ou want to run your own nameservers) to ns1.jon1235.com and ns2.jon12345.com and set the server's hostname to for example server.jon12345.com.

You can also use other names as hostname, for example jon.jon12345.com but better not like www, mail or ftp or one of these kind of reserved things as hostname.

I presume you found my manual already or I linked to it before? If not then here:

If you set it up correctly -before- installing Directadmin, then it makes life a bit easier. ;)
 
Back
Top