Set 443 as default in Apache Port
#1
Set 443 as default in Apache Port
Hi. my Website are all run in SSL thru cloudflare. I also save all certificate files over /etc/apache2/ssl. I already setup the Sentora Apache Port from 80 to 443. In the Apache Config, I also add the code below into Global Sentora Entry but the Apache Port was still in 80
Code:
################################################## # Apache VHOST configuration file # Customised entries for Sentora ################################################## # Configuration for Sentora control panel. SSLEngine on SSLProtocol SSLv3 SSLCertificateFile /etc/apache2/ssl/leowebhost.cf.pem SSLCertificateKeyFile /etc/apache2/ssl/leowebhost.cf.key ServerAdmin support@leowebhost.cf DocumentRoot "/etc/sentora/panel/" ServerName leowebhost.cf ServerAlias manage.leowebhost.cf

After this all set, I also add the code below into Virtual Host with Overrides
Code:
</VirtualHost> # Configuration for SSL - https://panel.yoursite.tld <VirtualHost *:80> ServerAdmin support@leowebhost.cf DocumentRoot "/etc/sentora/panel/" ServerName manage.leowebhost.cf AddType application/x-httpd-php .php3 .php <Directory /> Options +FollowSymLinks -Indexes AllowOverride All Require all granted </Directory>

After this set, I run
Code:
php -q /etc/sentora/panel/bin/daemon.php service apache2 restart

to reboot the apache service over my VPS to establish the new connection and settings. I think it is enough to run my website into SSL mode and I am wondering why the port of apache is still in 80.

My question regarding to this is how can I set the Apache Port into 443 and set this as default in all domain and subdomain?
Reply
#2
RE: Set 443 as default in Apache Port
apache is in port 80 as the panel remain on port 80.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#3
RE: Set 443 as default in Apache Port
(09-19-2017, 05:30 PM)Me.B Wrote: apache is in port 80 as the panel remain on port 80.

OK, apache is in port 80 right but I want to set the 443 as default in all website inside my VPS, how do I do that?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 19 ,412 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 11 ,428 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 5 ,532 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)