Page 1 of 1

Can we change default cpanel port 2083/2082 to some other port ?

Posted: Thu Jun 07, 2018 10:09 am
by stark
Hi,

I need to change the default ports of cPanel, I searched on Google but I could not find any

please help

Re: Can we change default cpanel port 2083/2082 to some other port ?

Posted: Sat Jun 16, 2018 3:13 pm
by Ashlin
Hi,

I don't think you can change the default port numbers.

Re: Can we change default cpanel port 2083/2082 to some other port ?

Posted: Sat Jun 16, 2018 3:14 pm
by chris ben
Hi,

You can change the cPanel port by editing this line in /var/cpanel/cpanel.config:

Re: Can we change default cpanel port 2083/2082 to some other port ?

Posted: Sat Jun 16, 2018 3:18 pm
by Brandon N
Hi Stark,

You can change cPanel port from command line by making some changes on /var/cpanel/cpanel.config

Open configuration file using any editor

vi /var/cpanel/cpanel.config & change port from 2082

port=2082

after making changes, make sure you to execute below commands in SSH.

# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
# /etc/init.d/httpd restart


Brandon N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree