Website not responding on http, only https working

Hello, I am completely lost on what I am doing wrong and any help will be greatly appreciated. I currently host my website on a DigitalOcean droplet on a Google domain. I am running Ubuntu 18.04 and Apache/2.4.29. Currently, only and work. When I simply type in, it times out without properly forwarding it to the https version. I installed my SSL certs through Certbot when I created my droplet and I have the following certs set up: Certs

My networking DNS records on DigitalOcean are set up as follows: DigitalOcean DNS

My Google Domains DNS records are set up as follows: Google DNS

I am utilizing the Really Simple SSL plugin on Wordpress, which DOES say SSL is enabled on my site and 301 redirect to https is set in the .htaccess file. Really Simple SSL Settings

My .htaccess file contains the following code:

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}%/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*)$ https://(my_domain_is_here).com/$1 [L,R=301]
# BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.1]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# END rlrssslReallySimpleSSL

<IfModule mod_headers.c>
Header always set Strict-Transport-Security: "max-age=31536000"
Header always set X-XSS-Protection "1; mode=block"
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy: "no-referrer-when-downgrade"
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
# Wordfence WAF
<IfModule mod_php5.c>
	php_value auto_prepend_file '/var/www/html/wordfence-waf.php'
<IfModule mod_php7.c>
	php_value auto_prepend_file '/var/www/html/wordfence-waf.php'
<Files ".user.ini">
<IfModule mod_authz_core.c>
	Require all denied
<IfModule !mod_authz_core.c>
	Order deny,allow
	Deny from all
# END Wordfence WAF

My SSL Labs report contained the following results for my cert: SSL Labs Results

What am I doing wrong? Any help will be GREATLY appreciated. Thanks so much! - Nick

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.

Bobby Iliev
Site Moderator
Site Moderator badge
April 14, 2020
Accepted Answer

Hi there @nickplatt4,

Your DNS looks correct actually. The problem is most likely either your firewall or your Apache virtual host.

I could suggest a few things:

  • Make sure to open port 80 for incoming TCP connections

  • Check your website’s virtual host and make sure that you have a virtual host for port 80

You can find your Apache Vhosts at:


You can also check this by running this command here:

  1. sudo apachectl -S

Feel free to share the current configuration here so that I could try to advise you further.

Regards, Bobby

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