AutoSSL and aliases
Hi.
I have several aliases for the same host in cpanel.
According to the documentation Manage AutoSSL - Version 68 Documentation - cPanel Documentation every time an alias is added, 3 subdomains are generated for SSL. Main domain, subdomain "www" and subdomain "mail".
As I have many domains parked, multiplied by 3 subdomains, I reach the limit of domains that can be covered by the SSL certificate.
Is there any way that the parked domains generate them independently or limit these three subdomains that it generates?
I just need to validate the subdomains with "www". Not even in the root name, which I have in another server.
thanks""
-
Instead of "parking" the domains on top of the main account, create an addon domain using the same DocumentRoot as your main account (i.e. /home/%user%/public_html). This will create a dummy subdomain off of the main account, but it will "park" the addon domain on top of this subdomain, and create a separate VirtualHost. Instead of creating a certificate for [plain]domain1.tld[/plain], [plain]www.domain1.tld[/plain], [plain]mail.domain1.tld[/plain], [plain]domain2.tld[/plain], [plain]www.domain2.tld[/plain], [plain]mail.domain2.tld[/plain] ... all the way down to all of the domains "parked" on that VirtualHost, this will create separate certificates, i.e. - a certifcate for [plain]domain1.tld[/plain], [plain]www.domain1.tld[/plain], [plain]mail.domain1.tld[/plain]. Then another certificate for [plain]domain2dummysubdomain.domain1.tld[/plain], [plain]domain2.tld[/plain], [plain]www.domain2.tld[/plain], [plain]mail.domain2.tld[/plain], etc. This creates more VirtualHosts in your Apache configuration, but it granularizes (is that a word?) control of the secure certificates being created. I would really love for cPanel to treat "parked" domains like this instead of adding them as a ServerAlias. Parking a domain is the old name and action for creating (what is now called) a Domain Alias. 0 -
@sparek-3's explanation here is perfect the issue aliases or parked domains have is they're added to the same VirtualHost. Since add-on domains create a new VirtualHost you shouldn't be hitting any limits. 0 -
How do you even create an "add on domain" to point to the same root? Because when I try this it says "That directory is reserved for use by the system" It's also forcing me to pick a subdomain, which I don't want. 0 -
When you log into your cPanel, click on Addon Domains in the Domains section. For the New Domain Name enter the new domain name that you want to "park". The Subdomain will fill in automatically for you, but you can change it, this is the aforementioned dummy subdomain. For the Document Root you would specify the path relative to your home directory that you want this addon domain to point to. If you are wanting to "park" this domain name on top of your main domain name (which I assume), you would enter public_html in this box. Then click Add Domain. It's pretty easy. 0
Please sign in to leave a comment.
Comments
4 comments