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

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..

Moderator: Staff

Post Reply
stark
Posts: 0
Joined: Fri Sep 16, 2016 10:00 am

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

Post by stark »

Hi,

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

please help


Ashlin
Posts: 0
Joined: Fri Sep 16, 2016 10:10 am

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

Post by Ashlin »

Hi,

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


chris ben
Posts: 0
Joined: Fri Sep 16, 2016 10:09 am

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

Post by chris ben »

Hi,

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


Brandon N
Posts: 0
Joined: Thu Apr 05, 2018 11:19 pm

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

Post 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


If you are looking for assistance in server management, please get in touch with our support.
Post Reply