Article ID: 11232, created on Apr 5, 2011, last review on May 11, 2014

  • Applies to:
  • Plesk 10.2 for Linux/Unix


Perform the following actions to change the default Apache HTTP/HTTPS ports to custom values:

1. Modify

Listen <custom-port>

in the /etc/httpd/conf/httpd.conf configuration file.

2. Modify ports in the psa.misc table:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e'replace into misc (param, val) values ("http_port", <custom http port>)'
# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e'replace into misc (param, val) values ("https_port", <custom https port>)'

3. Rebuild webserver configuration:
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all

d3c493291d6d9f66837ac7495dfea9ca a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF