How to change DirectAdmin’s default port number 2222?

HostStud

Administrator
Staff member
- SSH to your server as root user

- Modify DirectAdmin configuration file
#nano /usr/local/directadmin/conf/directadmin.conf
in the file find the line with
port=2222
and replace it with something like and save :
port=1111

And then restart the DirectAdmin
[root@server #] service directadmin restart
Then make sure to open port 1111 in server firewall and try to access Directamin in a browser.
 
Top