Question

Https redirect doesn't work?

the site in question is: gengoka.com

I set up a marketplace Wordpress installation with let’s encrypt.

If I directly type in gengoka.com into my browser, it doesn’t connect and I get a timeout error.

If I type **https://**gengoka.com into my browser there are no issues.

Also, if I go to the non secure **http://**gengoka.com version of the site, it also gives me the timeout error.

I tried using the Really Simple SSL plugin in Wordpress for a 301 redirect, but that hasn’t helped. I also tried a redirect in the apache conf file for sites enabled, and that didn’t work either (though not 100% if I did it correctly).

What should I try next?

Show comments

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.

Hey, @raimanau,

Could you post the content of your Apache/Nginx config:

/etc/apache2/sites-enabled/anything-in-here OR /etc/nginx/sites-enabled/anything-in-here

Also, could you tell me how did you set-up your domain? Did you change the nameservers to match DigitalOcean ones? You should have the following records:

Thanks, Dennis

Had same issue, spent lot of time looking for fix, installed plugins, etc.

Turned out official guide suggested optionally using ufw delete allow 80/tcp which was the cause of issue.

So i just had to ufw allow 80/tcp to make http version of my domain work again, which then automatically gets redirected to https, as supposed.

Hey @raimanau,

Hmm, are you sure that your A record is pointing to your current IP? If that is the case, maybe delete and recreate the droplet again? As far as I can see, you haven’t started development yet, so this may be a good chance for us to experiment as much as possible.

Best, Dennis

Try DigitalOcean for free

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

Sign up

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