http working but https returns 404

I followed the digitalocean tutorial ( to activate the SSL certificate but I have the following problem: with http the site works perfectly, with https it returns 404.

Apparently everything is ok:


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.

Hi @holamaluy,

I can see the website is working properly now. Can you let us know what was the issue and how you fixed it? I’m asking just in case someone else stumbles on the question and finds it helpful.

My suggestion, in this case, would’ve been to check the Apache/Nginx configuration file to see if you’ve added your website to listen on port 443 as well as port 80. Is that correct?

Regards, KFSys