Accidentally modified le-ssl.conf for permanent redirect

I modified le-ssl.conf for permanent redirect and website is not working properly. Reinstalled Ubuntu OS, Apache and Certbot/SSL from scratch but still exhibiting same symptoms. Seems like my SSL certificate was modified but is not local to my server. Any help will be greatly appreciated!

My domain is: thepaintedcorner.com

I ran this command: modified le-ssl.conf with permanent redirect

It produced this output: website is not working properly

My web server is (include version): Apache 2.4.29

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

My hosting provider, if applicable, is: Self Provider

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): No

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

Hi @taspillaga

speculation isn’t a good idea. See the output of your domain - https://check-your-website.server-daten.de/?q=thepaintedcorner.com

Your redirects are correct.

But your website is buggy, tons of resources and wrong links with

http://192.168.1.178/

istead of https and your domain name.

If your website is buggy, reinstalling these components doesn’t help. You have to fix your website.

Your certificate is valid, that’s not the problem.

No offence, but what the…? Why would you reinstall the complete OS for something like a configuration error?

Thanks for the quick reply! Yes, I had missed a couple of things… updated hosts file with public IP address and can get to it from my phone and computer. Thanks for helping verify that it is not a certificate issue.

I’m a noob with Apache :wink:

Tip: on Linux it’s almost never necessary to reinstall the complete OS or even reboot a server.

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