It is also a commonly using and famous web hosting control panel for Linux servers. It’s a paid one, not an open source control panel. You can access your direct admin control panel by using the port number 2222 by default.
If you want, there is an option to change the default port number. Here, CryBit going to explain the steps to change the default port number to a different one.
How to change Direct admin’s default port number?
You can simply change the default port number 2222 via command line. Certainly, this can be done by editing some configuration file. The port number is defined in the configuration file of Direct Admin (directadmin.conf). You can change the port value from that conf file.
Please do the following steps pasted below:
Step 1: SSH to your server as root user.
[[email protected] #] ssh [email protected]
Step 2: Edit the configuration file and change the port number value to your own one. You can use your favorite text editor like vi, vim, nano etc to edit the configuration file.
[[email protected] #] vim /usr/local/directadmin/conf/directadmin.conf port=2222 :wq
You need to edit this file also ‘/var/www/html/redirect.php‘. Replace the old port number with the new one.
Here 2222 is the default port number. Replace it with the new one.
Step 3: Restart the Direct Admin daemon
[[email protected] #] service directadmin restart
Now try to access with the new port number which you added into the configuration file.
Let me know if you have any questions.