webdnstools.com
DNS Lookup, Reverse DNS Lookup, Domain Configuration Check and IP Address Calculators

Change Plesk Control Panel Port

If you use the Plesk control panel to manage your Linux server, you need to access the Plesk control panel on port 8443 by default. The problem is that port 8443 isn't always allowed by firewalls and proxy servers. You can reconfigure Plesk to use the standard HTTPS port 443 if you need to. Providing you have an IP address that isn't already listening on port 443.

Plesk runs its own Apache instance which is separate from the Apache instances that Plesk manages for your domains. For Linux users, the Plesk Apache configuration file is usually in the following directory:

/usr/local/psa/admin/conf/httpsd.conf

Note: changes to this file will be overwritten if you upgrade or reinstall Plesk.

On my server, I found that there were four places I had to make changes to in this file. Here are the original sections of the httpsd.conf file:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80
Listen 8443
Listen 8880
...
<VirtualHost *:8443>
#SSLRandomFile /dev/urandom 1024
#SSLRandomFilePerConnection /dev/urandom 1024
#SSLEnable
#SSLCACertificatePath /usr/local/psa/admin/conf
...
ErrorDocument 400 https://example.com:8443
</VirtualHost>
...
Port 8443
User psaadm
Group psaadm

Here are the changes that I made to the httpsd.conf file:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80
Listen 192.0.2.47:443
Listen 8880
...
<VirtualHost *:443>
#SSLRandomFile /dev/urandom 1024
#SSLRandomFilePerConnection /dev/urandom 1024
#SSLEnable
#SSLCACertificatePath /usr/local/psa/admin/conf
...
ErrorDocument 400 https://example.com:443
</VirtualHost>
...
Port 443
User psaadm
Group psaadm

After making changes to this file you will need to restart the Plesk Apache server. On my server the command to restart Plesk is:

/etc/init.d/psa restart

You should now be able to access your Plesk control panel using the standard HTTPS port.