Report this

What is the reason for this report?

can't get https to work

Posted on January 3, 2014

Hi all, I’m trying to enable https following this guide: https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-12-04

Even though the guide is exemplary I can’t get it to work. I complete the guide without any errormessages but trying to connect to the https gives “website not available”.

It seems the server is only listning to port 80 and not 443.

Ideally I would like port 80 to be redirected to 443 so all connections are secure.

How can i find out where the problem is?

Cheers /Adam



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!

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.

http://pastebin.com/eHxLXL5u <br> <br>Maybe it has something to do with the fact that my domainname is with a swedish provider and points through a “@ A 185.14.185.182” pointer?

Hmm, odd. Doesn’t seem like it’s listening on IPv4 0.0.0.0? Can you paste the output of the netstat command on Pastebin? Some lines might have been filtered out by the site or something.

<blockquote>It seems the server is only listning to port 80 and not 443.</blockquote> <br>Do you have a firewall running? What’s the output of the two following commands? <br><pre>sudo netstat -plutn <br>sudo iptables -L -n -v</pre>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.