Website not showing after HTTPS is enabled

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

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

It produced this output: Index of /

My web server is (include version): Apache

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

My hosting provider, if applicable, is: digitalocean

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

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

This site could not prove it’s beacuse the certificate is given to

how do I change certificate domain to

Please help, I’m desperate.

You must specify all valid domain names on certificate issuance.

You can redo your certificate:

sudo certbot --apache --cert-name -d -d

1 Like

Thank you so much! :)))))

1 Like

So I updated the certificate and now I’m running into another issue.

Please have a look:

I don’t see any error here. Could you please close all instances of your browser and then retry?

Sorry about the confusion.

When I enter I get the error: Certicat: NET::ERR_CERT_AUTHORITY_INVALID

When I enter it enters HTTP which should be HTTPS


Earlier I used your link: sudo certbot --apache --cert-name -d -d

I have now changed it:

sudo certbot --apache --cert-name -d

I Hope it will resolv the issue.

Unfortunately it didn’t work.

All help is really appreciated.


<VirtualHost *:80>
DocumentRoot /var/www/
RewriteEngine on
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

<VirtualHost *:80>
Redirect permanent /
RewriteEngine on
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

what nameservers should be listed in /etc/resolv.conf ?

How do I troubleshoot my problem?


clear your browser and try with another one

your certificate is working

Hi alhaw021,

I know, thanks.

My problem is my page don’t display the content from my page.

thats a web development problem not a HTTPS / SSL problem :wink:

stackexchange is the place to ask those questions :wink:

I have the same problem that My problem is my website don’t display the content from my page. My web :

Make sure your document root is set to /var/www/html in your virtual host file

If you have wordpress or else in the correct folder

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