How to install a new cert on the same server as first cert?

Hi there. Love the product!

So I recently had to change my domain name and I want to add an SSL cert for that new domain. The server is still the same server as before.

When I run the command below it just brings me to a screen that allows me to select my old domains with no option to add another domain

$ ./letsencrypt-auto --apache

I tried deleting the letsencrypt folder off my server and reinstalling, but I still get that screen with the domain I original created.

Which names would you like to active HTTPS for?
[] abacaas.com
[
] www.abacaas.com

OK or Cancel

Also, I don't need to add things in front of the domain do I? Similar to how A Records in DNS are handled.

You’re currently using the apache plugin, which detects domain names based on your apache configuration.

Did you add your new domain(s) as ServerName/ServerAlias in your <VirtualHost> files?

I added the code below to virtual host below, but was still not able to add a new site.
sudo nano /etc/apache2/sites-enabled/000-default.conf

<VirtualHost *:80>
     ServerName portalpay.io
     DocumentRoot "/var/www/html"
     <Directory "/var/www/html">
         AllowOverride All
     </Directory>
 </VirtualHost>

^x+Yes

I did not add a virtualhost record in the process of adding the first SSL cert.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.