Change the default Plesk port


Many time we face ddos attacks on specific ports and at that time we always like to change the port for that particular service.To change the Plesk default port from 8443 to any other port, refer to the following steps.

Login into the server as root user and open the file  /usr/local/psa/admin/conf/httpsd.conf  in your favorite editor

server@root[~]#nano /usr/local/psa/admin/conf/httpsd.conf 

Once above file open search for the port number 8443 and replace it as per your requirement and open the new port in server firewall.

Mainly following three option need to change only.

Listen 8443
Port 8443
<VirtualHost *:8443>

 Restart the Plesk service to implement the changes.
Note : Before making any change make sure that you have taken the backup for the working /usr/local/psa/admin/conf/httpsd.conf file to avoid any problem after making above changes.

About Anant 384 Articles
Senior technical writer