Wrong website loading after letsencrypt install

Please browse to the following domain:

http://ottawaspecial.events

the website loads properly (although unfinished) - correct webpage

Please browse to the SSL of this domain, after LetsEncrypt script.

https://ottawaspecial.events

incorrect webpage loads

My domain is: ottawaspecial.events

I ran this command: sudo /usr/local/bin/certbot-auto certonly --apache

It produced this output:
` - Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/ottawaspecial.events/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/ottawaspecial.events/privkey.pem
Your cert will expire on 2020-03-06. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew all of your certificates, run
“certbot-auto renew”

  • If you like Certbot, please consider supporting our work by:`

My web server is (include version): apache

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is: OVH

I can login to a root shell on my machine (yes): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): putty

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

Hi @ianarman1

if you use --apache, then you use apache as authenticator and installator. So certonly doesn’t work.

So compare your vHost definitions and change your port 443 vHost manual.

Start with

apachectl -S

to find your current vHosts.

1 Like

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