John C. Reid
New member
- Joined
- Mar 5, 2024
- Messages
- 11
I am setting up a new server to evaluate DirectAdmin as I am looking at possibly converting all my shared hosting servers from cPanel. This server will end up being a production server, but it is not shared hosting. It is used for out internal domains and websites. I am using it as testing and to help me get a template for how I would setup all of my other DirectAdmin servers for the shared hosting. Right now I am attempting to get new user creation to work as I need it to.
In our environment we don't use the web servers for DNS or Email, those are separate dedicated servers. However, I want the zone on the web server to at least reflect the correct records as much as possible, and I would like to prevent conflicts and issues as much as possible. Right now this means not attempting to get an SSL cert for subdomains that will never be pointed to the server.
I have created a
file that eliminates the "mail", "pop", and "smtp" subdomains from the zone file when I create a new user. I can see that those subdomains are in fact not in the created zone, however logged in as the user, under Account Manager » SSL Certificates, Hosts: It still shows the mail., pop, and smtp. subdomains.
How do I go about editing that for new user creation? It is a template somewhere? Is DA doing some kind of detection of existing subdomains in the domain zone file? It seems to me that as long as the auto SSL is attempting to get a cert for subdomains that are not pointed at that server it will fail, and since we use a dedicated mail server, those subdomains will never be pointed at that server. Meaning that auto SSL as it stands will always fail.
Thank you for helping a noob learn how DA handles this kind of thing.
In our environment we don't use the web servers for DNS or Email, those are separate dedicated servers. However, I want the zone on the web server to at least reflect the correct records as much as possible, and I would like to prevent conflicts and issues as much as possible. Right now this means not attempting to get an SSL cert for subdomains that will never be pointed to the server.
I have created a
Code:
/usr/local/directadmin/data/templates/custom/dns_a.conf
How do I go about editing that for new user creation? It is a template somewhere? Is DA doing some kind of detection of existing subdomains in the domain zone file? It seems to me that as long as the auto SSL is attempting to get a cert for subdomains that are not pointed at that server it will fail, and since we use a dedicated mail server, those subdomains will never be pointed at that server. Meaning that auto SSL as it stands will always fail.
Thank you for helping a noob learn how DA handles this kind of thing.