How to change the port for Plesk hosting control panel?

Moebuntu

Well-known member
Registered
Joined
Jul 1, 2016
Messages
103
Points
18
Is it recommended to change Plesk port for my Plesk hosting panel. I don't know reveal real URL of my Plesk when someone types myIP::8443, it will redirect to my Plesk control panel interface. If it is posisble, how can I change this port to another one?
 

RDO Servers

Well-known member
Registered
Joined
Apr 3, 2015
Messages
1,027
Points
83
Plesk 12 uses sw-cp-server , which is based on Nginx. The configuration file of Plesk resides in /etc/sw-cp-server/conf.d/plesk.conf . Edit the following line in that file and change the port:

listen 8443;
The port also should be changed in the file /etc/sw-cp-server/conf.d/ipv6_ports.inc :

listen [::]:8443 ipv6only=on ssl;
Restart sw-cp-server to apply the changes:

# /etc/init.d/sw-cp-server restart
Restarting sw-cp-serverd: sw-cp-server.
 

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top