Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: troubleinutopia.com
My web server is (include version): Apache 2.4.46
The operating system my web server runs on is (include version): Ubuntu 20.4
My hosting provider, if applicable, is: digital ocean
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot 1.12.0
Hi,
This is a very basic question but I am new to setting up and running my server.
I have set up the domain troubleinutopia.com and got the certificate set up for that. However I also have set up another domain trbl.site which I have set only to be able to use a shorter domain name.
I have set this up in my virtualhosts file with a 301 redirect.
<VirtualHost *:80>
ServerName trbl.site
ServerAlias www.trbl.site
Redirect 301 / http://troubleinutopia.com
I set up the original certificate by running certbot --apache
If I run this again I see all correct names listed in the output "Which names would you like to activate HTTPS for?"
1: trbl.site
2: www.trbl.site
3: troubleinutopia.com
4: www.troubleinutopia.com
My question is, can I just proceed with this, selecting all the domains here, or should I just select the new ones, or is there a better command I should run to achieve having a certificate for all?
There are some similar questions on this forum, but they did not seem to match my exact question.
Many thanks
Francis