"This site can’t be reached" after setting up a certificate

My website,, which was working fine, but I wanted to set up a certificate for security.

However, once I added a certificate (using the “Add Certificate” button) trying to access the site in a browser gives a “This site can’t be reached” error.

Everything seems to be working fine internally. I can ping the site, and access it through SSH or SFTP. It’s just the browser that isn’t working. What happened and how do I fix it?


Also, I suddenly can’t restart Apache2. Trying returns the following:

 * Restarting web server apache2                                                                                        [Wed Dec 04 16:34:15.531703 2019] [alias:warn] [pid 5862] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

I have tried killing the LISTEN processes, but they just come back. There is also only one copy of “Listen 80”.

While it is possible to remove the problematic line in apache.conf, I don’t understand why it is suddenly an issue - it never was before.

There are no error logs for this, presumably because it is unable to open logs.

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.


I would recommend following these steps on how to troubleshoot common Apache problems:

Then feel free to share the output of the commands here so that I could try to advise you further.

Regards, Bobby