Installed LetsEncrypt and redirects to https work but web pages are no longer reachable

I installed Let’s Encrypt per the following tutorial:

Works to require a redirect to https but I can no longer reach the index.html web page or any other page on the site. I deleted the lines added by let’s encrypt to the .conf file for my site and now the site is reachable. I was trying to setup a password protection of the site per the following tutorial:

But instead of receiving a prompt for a username and password, I just received the following message in Google Chrome (and also could not reach pages in IE):

Not Found

The requested URL / was not found on this server.

Apache/2.4.18 (Ubuntu) Server at Port 443

the “” is just edited to not include my actual domain.

Any suggestions will be appreciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted Answer


The Let’s Encrypt install shouldn’t mess with the listeners, but if the configuration was a bit off to begin with, then the wizard sometimes does strange things.

Run this command to list which configuration files Apache is using:

sudo apache2ctl -S

And then post each configuration file it lists and /etc/apache2/apache.conf

Hi all, I have been reading through a lottttttt of publications and I can’t find my answer yet. I’m running ubuntu 18.0 and nginx My server was running before installing certbot in http://IP:Port and now none of them are working http neither https.

Please!!! Help!!

I found a solution via LetsEncrypt forum.

If you’re having issue with Wordpress not displaying content and a page looks broken after you’ve run CertBot and installed SSL and now via https:// you got a broken page here’s a solution:

  1. Go to Word Press admin panel
  2. Go to Settings–>General WordPress Address (URL) and Site Address (URL) change a value from your machine’s IP address to your website URL, for example:

old value

change it to:

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel