Report this

What is the reason for this report?

The Different between Root at Listen 80 and Listen 443

Posted on May 28, 2016

Hello Guys, May i know what is the different between both of root at Listen 80 and Listen 443? I have problem with access my HTTPS site. I got Error 404 if i set my 443 to On. My page is secure and the CA is active. (/var/www/domain.com/html) But my website can’t access. If i don’t activate my SSL, the website is fine but i have already setting my General Wordpress to change it’s url become https://domain.com. Because of that i can’t acess it if i am not change my Listen into 443. (/var/www/domain.com/html)

Am i miss something? Or am i make a mistake?

My step is :

  1. Initial setup Ubuntu.
  2. Install LEMP.
  3. Install Virtual Host.
  4. Install SSl.
  5. Install Wordpress.

Thank you, Frans W



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.

The main difference between 2 ports Listen 80 = HTTP = Non SSL Listen 443 = HTTPS = SSL

Please check the following tutorial and see if you missed something or not How To Install an SSL Certificate from a Commercial Certificate Authority

also you shouldn’t change url in your wordpress general settings to https. post your nginx virtual host file configuration to see if there’s something wrong.

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.