Activating New Domains for One-Click Wordpress

So I run the following command and given a list of domains that I would like to activate HTTPS for. However, the domain I would like to activate HTTPS is, instead of How can I do that? Or will it be the same for both domain and sub-domain to get activated?

~# certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache

Which names would you like to activate HTTPS for?

1: 2:

Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter ‘c’ to cancel):

I have checked out this: but the instruction does not seem to be straightforward enough for my issue.



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, @sawthinkar

Could you please let me know if you’ve already changed the domain name used for the WordPress site from to If that is correct you can also alter the Apache configuration file and change the domain from to in the server block as well.

In this way certbot can issue a SSL Certificate for as per your wish.

I will recommend you to create a snapshot of your droplet and also backup your data in order to have a working copy of your site (both files and database) in case something goes wrong.

If you haven’t changed the domain name yet, let me know and I can try to explain the process in details.

Regards, Alex