I need to have Plesk panel interface be accessed at standard 443 SSL port in addition to default 8443.
Article ID: 1694
Last Review: May,05 2008
APPLIES TO:
- Plesk 8.x for Linux/Unix
CAUSE
This option may be required if your clients cannot access your Plesk panel at 8443 port because of firewall rules of their ISP.RESOLUTION
The most correct way is to contact your ISP and ask them to allow connections to 8443 port to your server, because it is needed for Plesk you run. If your ISP deny to do this, the only way is to allow your clients to access panel at standard SSL https://server.domain.tld address to 443 port instead of 8443.By default 80 and 443 ports are used by standard apache service on all IP addresses for web sites hosting, so that you will need to decide which one of them will be used for accessing control panel at 443 SSL port, configure control panel apache copy to additionally listen 443 port on this IP and configure apache copy for hosted sites not to listen and release 443 port on this IP.
NOTE: 8443 port must NOT be disabled/removed from Plesk panel configuration. You may configure Plesk panel to listen on other ports in addition to standard 8443, but should not replace standard 8443 port with other one, because Plesk components such as drweb, watchdog, API and others require Plesk to be on 8443 port for proper functioning.
For example, the server has following IP adresses:
1.1.1.1
2.2.2.2
3.3.3.3
100.100.100.100
and you need Plesk panel be accessed at https://100.100.100.100.
First of all make sure that your server.domain.tld resolves to selected 100.100.100.100 IP address.
Edit SSL configuration file of apache for web sites copy, file location may differ depending on your operating system, for example for RHEL it is /etc/httpd/conf.d/ssl.conf
Find and comment out the line:
Listen 443
Instead of this you will need to specify all existing IP addresses excluding required one (100.100.100.100):
Listen 127.0.0.1:443
Listen 1.1.1.1:443
Listen 2.2.2.2:443
Listen 3.3.3.3:443
Stop and start apache service.
Then you need to edit Plesk panel /usr/local/psa/admin/conf/httpsd.conf. Add the chosen IP to the Listen directives list:
Listen 8443
Listen 8880
Listen 100.100.100.100:443
Find out there 8443 VirtualHost definition there:
<VirtualHost *:8443>
And change it to
<VirtualHost *:8443 \
100.100.100.100:443>
Winthin the same VirtualHost find out the line:
ErrorDocument 400 https://server.domain.tld:8443
and change it to:
ErrorDocument 400 https://server.domain.tld
Then stop and start Plesk panel
# /usr/local/psa/admin/bin/httpsdctl stop
# /usr/local/psa/admin/bin/httpsdctl start Keywords: plesk customization port change