Some of our users are really strange. At present, we often use one click Linux LNMP/LAMP installation package, or similar pagoda panel. But Lao Zuo did see that some netizens actually installed DirectAdmin (DA panel) or paid cPanel in independent servers, and they even paid for licenses.
At first, I thought they bought independent servers and used these user panels to distribute hosts. Finally, I found that they still used them themselves. When asked why, they said habits. This is really difficult for us to understand. Regardless of these problems, we need to modify the default port 2222 of the DirectAdmin panel after installing the panel. Otherwise, there are some security problems.
First, find the modified file
/usr/local/directadmin/conf/directadmin.conf
Here, we can use the vi command to modify it, or download it locally and use the SFTP FTP software to download it. Then modify.
By default, we see port=2222
Second, restart the panel
Then we can change it to the port set by ourselves. Finally, we restart the panel
service directadmin restart
Or finally restart the server to take effect. If our server is set with a security group, we need to release the new port in the security group and delete the original port.