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!
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>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.