This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server
#1
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server
Most of my sites are using SSL with Let's Encrypt. However, I'm looking to migrate some sites over which don't currently have SSL. To make it seamless, and so end users don't get an error about a self signed certificate, I'm looking to enable port 80 traffic. Then, once the DNS change has fully propagated, I can get Let's Encrypt to issue a cert for the migrated site.

Right now my server is basically redirecting everything to port 443. Under the Apache Admin Module, I've got the Apache Port set to 443. All other domains have an overwritten Virtual Host Settings that forward to 443 and point towards the certificate. However, I can't seem to get a single domain to not try to redirect to port 80.

My vhosts file (/etc/sentora/configs/apache/httpd-vhosts.conf) only has "Listen 443" at the top. If I remember correctly, adding port 80 as well caused HTTPD to fail to restart/load.

I am running CentOS Core 7.3.1611 on kernel 2.6.32-042stab120.16 with Sentora 1.0.3 installed.

Thanks!
Gordon
Reply
Thanks given by:


Messages In This Thread
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server - by dsmarter - 08-13-2017, 07:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Server Crash rsthomas 3 8 ,100 05-18-2022, 09:26 AM
Last Post: Nigel
Server Vs. Workstation zHostingSolutions 4 9 ,322 09-14-2021, 06:30 AM
Last Post: sparkrack
https without certificate redirects to panel iraqiboy90 10 22 ,717 02-28-2021, 11:20 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 3 Guest(s)