Cant access directadmin

hostingpro

Verified User
Joined
Mar 25, 2013
Messages
6
Hello,

I changed my server name from master.mydomain.com to server1.mydomain.com via Administrator settings in directadmin controllpanel and then I restarted directadmin.

Now I can't access the directadmin controllpanel but my websites are live.

Any ideas?
 
I got this error in my browser when I try to log in to directadmin

error 101 (net::ERR_CONNECTION_RESET)
 
That is not the correct way to change server hostname. You should revert the change to fix the problem. I think you can revert the change and fix the problem this way:

Edit this file:
Code:
/usr/local/directadmin/conf/directadmin.conf

In that file, find this line:
Code:
servername=server1.mydomain.com

Change that line to be this:
Code:
servername=master.mydomain.com
(of course change the server name in above line with the real previous server name)

Then log on shell/ssh and run this command:
Code:
service directadmin restart

Then try to log into DirectAdmin control panel and see if it works.
 
Back
Top