ERR_CONNECTION_TIMED_OUT After Purging Apache2 & Certbot

I was messing with apache2.conf and 000-default.conf to manually force redirect to https. I was doing this because i thought certbot force redirect is not working. It turned out the problem caused by my domain propagation which wasn’t completed yet, so after the propagation has done. My site is working with automatically forced https.

The problem is I have a laravel project on my server and it’s not opened correctly. So I tried to manually restore the default apache2.conf and 000-default.conf. After restarting the apache, the site return ERR_CONNECTION_TIMED_OUT. That’s when I start to purge apache2 and certbot. I also manually delete the remaining configuration of apache2 and letsencrypt. After reinstalling apache2 (there was an error, which I solve by running the a2enmod rewrite command), my site still redirected to https. So I install the certbot and run the cerbot --apache command. The process is completed without error. But the site’s still not working.

What’s your domain name?

1 Like

I just restart everything and it's working.

I got another problem tho...

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