That shouldn't be the case. Usually, the files in
sites-enabled are symbolic links to the files in
sites-available, so that the files in both directories are actually the same.
So something is not correct it seems.
Anyway, I'm off now, maybe someone else can pitch in from now on.
certbot probably didn't find the HTTP vhost for
jobsdojo.com, so it couldn't configure the redirection for you.
That said, redirections are a very simple thing to do.
You can do a web search to include your web server type and you'll find dozens of examples.
You should uncomment both of those. A ServerAlias is unusual without a ServerName and you probably want the www subdomain working at some point anyway.
Here is a list of issued Certificates crt.sh | jobsdojo.com, the latest being 2023-03-22.
Namely this one, which has SANs containing jobsdojo.com & www.jobsdojo.com.
Only Port 80 is open to the domain name, so I cannot check the Certificate.
$ nmap -Pn jobsdojo.com
Starting Nmap 7.80 ( https://nmap.org ) at 2023-03-22 19:33 UTC
Nmap scan report for jobsdojo.com (188.8.131.52)
Host is up (0.14s latency).
rDNS record for 184.108.40.206: 220.127.116.11.bc.googleusercontent.com
Not shown: 997 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
3306/tcp open mysql
Nmap done: 1 IP address (1 host up) scanned in 11.82 seconds
Also https://letsdebug.net/jobsdodo.com/1417809 is showing 3 WARNINGs:
This is the first
The domain jobsdodo.com is being served through Cloudflare CDN. Any Let's Encrypt certificate installed on the origin server will only encrypt traffic between the server and Cloudflare. It is strongly recommended that the SSL option 'Full SSL (strict)' be enabled.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.