serverpilot-letsencrypt
serverpilot-letsencrypt copied to clipboard
Add extra subdomains
Is it possible to add extra subdomains later?
Yes, it is possible.
Just do the same as adding a new site.
Let's Encrypt will detect that the site already exists and ask if you just want to update.
But you have to include all the domains you've added before again, right?
Yes, you have to include all domains and subdomains.
Is there the capability of adding new domains for different serverpilot apps on the same server?
For instance, I have 3 websites with a few different domain names for each all on the same server managed by serverpilot. For one of the sites (with 4 other domain names), I ran your script and it worked perfectly.
Now, I'm wanting to add SSL to the other two websites (different apps) that have two different sets of domain names. Can I just run the script again twice for each of these? Or do I need to run it once and include every domain name on the server, regardless of which app/website it's for?
@justinbowers
You need to run the script for each domains (ex: domain.com) and include all subdomains (ex: subdomain1.domain.com subdomain2.domain.com ...).
It would look like this on the command line: domain.com subdomain1.domain.com subdomain2.domain.com ...
If you then need to add SSL to other domains, you repeat the same process.
@pedrorodbit Thanks for the reply. That's what I did with the first site on the server. I just didn't know if it would remove the existing config if I ran it again for the other sites.