Certbot is not working on apache2

I've done this but i still get the error message

The /etc/apache2/sites-enabled/bjoernspecker.de.conf file you posted does not look right but I think that was a formatting problem. Part of it was in your deleted post and partly in the post right after that.

Now you need to figure out why requests to your domain get redirected from HTTP to HTTPS. There are no redirects in that VirtualHost that explain it so must be somewhere else. Perhaps in a .htaccess file setup by your Wordpress install. Or, maybe you have two Apache systems running.

See a request for your "home" page with HTTP gets redirected to HTTPS with /wordpress added onto the URL

curl -i http://bjoernspecker.de
HTTP/1.1 301 Moved Permanently
Date: Sat, 21 Dec 2024 15:37:52 GMT
Server: Apache/2.4.62 (Unix)
Location: https://bjoernspecker.de/wordpress

Perhaps the support group for your WordPress package can help you find that.

2 Likes

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