Question about domains for the control-panel/email/etc

andreass

New member
Joined
Nov 13, 2022
Messages
2
Im quite new when it comes to the more technical parts of hosting and DA so im sorry if theese are dumb questions.

Im a bit confused when it comes to connecting domains to the DA system, for example if im not wrong the hostname for the server hostname should be a subdomain like directadmin.mydomain.com? Does that also mean that you should access the DA panel on the directadmin.mydomain.com domain? Currently you have to add the DA port 2222 to the IP or domain in order to access, how do I make so you can just use directadmin.mydomain.com without the port? Also now when accessing roundcube for example the address is directadmin.mydomain.com/roundcube how would I make it to email.mydomain.com?

Thank you.
 
server hostname should be a subdomain like directadmin.mydomain.com? Does that also mean that you should access the DA panel on the directadmin.mydomain.com domain?
First of all, there a no dumb questions. Dumb is when questions are not asked.
Things like mail (smtp and www and server), so default names for specific purposes, look like subdomains, but we don't call those subdomains. So a hostname is a hostname and can be what you want. Like server.domain.com or myvps.domain.com but also charlie.domain.com if you like that better. By more common names like charlie.domain.com (just an example), be aware that this can't be used as a subdomain on the server anymore. So people rather choose for a more common hostname like server.domain.com which is easier.

You don't need to visit your da panel via server.mydomain.com:2222 but can also do that via just mydomain.com:2222 when you have setup mydomain on the server.

I don't know if it's possible to change it to visit directadmin without the port behind it. You have to search the forums for that, but I have my doubts about if that is possible.

for example the address is directadmin.mydomain.com/roundcube
Normally it's also defaulted to mydomain.com/webmail or directadmin.mydomain.com/webmail which is often used.

Please do not hange it to mail.domain.com as that can cause any possible issues. Maybe you can change it to email.domain.com but that means changing virtual host settings.
Check this doc.
 
First of all, there a no dumb questions. Dumb is when questions are not asked.
Things like mail (smtp and www and server), so default names for specific purposes, look like subdomains, but we don't call those subdomains. So a hostname is a hostname and can be what you want. Like server.domain.com or myvps.domain.com but also charlie.domain.com if you like that better. By more common names like charlie.domain.com (just an example), be aware that this can't be used as a subdomain on the server anymore. So people rather choose for a more common hostname like server.domain.com which is easier.

You don't need to visit your da panel via server.mydomain.com:2222 but can also do that via just mydomain.com:2222 when you have setup mydomain on the server.

I don't know if it's possible to change it to visit directadmin without the port behind it. You have to search the forums for that, but I have my doubts about if that is possible.


Normally it's also defaulted to mydomain.com/webmail or directadmin.mydomain.com/webmail which is often used.

Please do not hange it to mail.domain.com as that can cause any possible issues. Maybe you can change it to email.domain.com but that means changing virtual host settings.
Check this doc.
Thank you very much for the reply, I think Im starting to understand. But I should add my domain ex. mydomain.com in DA in order to host my own website and use DA with my domain right?
 
and use DA with my domain right?
You can use DA with any domain. But it's easy to work with if you have a main domain, like yourdomain.com and hostname server.yourdomain.com etc. so you have a default setup to begin with and this always works fine.

Indeed you understand correctly. You can add your domain ex. mydomain.com in DA and then you can also host your own website on it if you want. It's not required, but you can. I do too. ;)
 
Back
Top