My web server is (include version): Apache/2.4.38 (Debian)
The operating system my web server runs on is (include version): debian 10
My hosting provider, if applicable, is: gcp compute engine
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): ssh web console
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0
When i ran the bot i put only “clean.ml” as domain, but i want it to work on “www.clean.ml” as well.
How do i achieve that?
Im using cloudflare as DNS with:
A record to clean.ml pointing to my servers IP
A record to www.clean.ml pointing to my servers IP
and SSL encryption Full (strict) mode
I had the same problem as you before. What I did was I re-ran Certbot and selected expand existing certificates. That way, the certificate I had for the non-www domain was expanded to cover the www subdomain.
Then you can use the Bot to deploy the certificate onto the web server configuration.
I did all of this from the command line, so not sure if it’s the same for you.
Any idea how to check that? Sorry I’m kinda new to VM Linux.
It’s a new server that i put up today, i did not intentionally configure a virtual host in apache.
Does Certbot auto-configure that as well?
Found this running
sudo apache2ctl -S
VirtualHost configuration:
*:443 clean.ml (url) info edited out
*:80 clean-server.us(url) info edited out