LetsEncrypt for subdomain that is not in Aliases field
Posted: Fri Jan 18, 2019 12:01 pm
I have multiple websites that use a custom http and nginx template, this template automatically creates a admin.example.com, in my vesta panel I have the domain example.com and in the aliases the www.example.com
When I add SSL (LetsEncrypt), it only creates for example.com and www.example.com the admin.example.com don't have it.
My custom templates create 2 VirtualHost one for the main domain and one for admin.example.com.
Any tips how can I add the admin.example.com to SSL certificate without put it on the aliases field on vesta?
Other solution is to create conditional templates, in then case I put admin.example.com on the aliases but the template ignores it when create the VirtualHost, this is possible?
When I add SSL (LetsEncrypt), it only creates for example.com and www.example.com the admin.example.com don't have it.
My custom templates create 2 VirtualHost one for the main domain and one for admin.example.com.
Any tips how can I add the admin.example.com to SSL certificate without put it on the aliases field on vesta?
Other solution is to create conditional templates, in then case I put admin.example.com on the aliases but the template ignores it when create the VirtualHost, this is possible?