Domain doesn't work after Lets Encrypt


I added SSL certificate via Let’s Encrypt and I followed this guide But now, my site does’t open :frowning:

My domain is:

I ran this command: sudo certbot --apache -d -d

It produced this output:

My web server is (include version): Apache 2

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

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

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

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

1 Like

Port 443 may be closed/blocked by firewall.
curl -Iki
curl: (7) Failed to connect to port 443: Connection timed out

Port 80 connects and shows proper redirection for both: &

1 Like

Please show:
apachectl -t -D DUMP_VHOSTS
netstat -pant | grep apache
[if empty, then: netstat -pant]
[if too many, then: netstat -pant | grep -i listen]

1 Like

alibaraneser@instance-1:/etc/apache2/sites-enabled$ apachectl -t -D DUMP_VHOSTS
AH00112: Warning: DocumentRoot [/var/www/html/public] does not exist
AH00112: Warning: DocumentRoot [/var/www/html/public] does not exist
AH00526: Syntax error on line 17 of /etc/apache2/sites-enabled/
SSLCertificateFile: file ‘/etc/letsencrypt/live/’ does not exist or is empty
Action ‘-t -D DUMP_VHOSTS’ failed.
The Apache error log may have more information.

alibaraneser@instance-1:/etc/apache2/sites-enabled$ netstat -pant | grep apache
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)

1 Like

Please show this file:

and output of:
certbot certificates

and now with sudo:
sudo netstat -pant

1 Like

I solved problem.

I apply “Allows Https Traffic” on the Google Cloud Platform. Thanks for reply :slight_smile:


So my first sentence in my first post solved your problem - your welcome.


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