Getting frantic. ! I cannot log into control panel. Redirects me to the new server.

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
888
Cannot log into control panel on the new server using the IP address. It Redirects me to the old server which is still running.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,223
Location
LT, EU
Please check the output of:
Code:
/usr/local/directadmin/directadmin c | grep _host
 

IT_Architect

Verified User
Joined
Feb 27, 2006
Messages
888
root@server:~ # /usr/local/directadmin/directadmin c | grep _host
named_rename_hostname_zone=1
ssl_redirect_host=server.mydomain.com
force_hostname=server.mydomain.com

THANK YOU!!!

Edited, restarted, and now I an get in.
 
Last edited:

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,223
Location
LT, EU
Just remove:
Code:
ssl_redirect_host=server.mydomain.com
force_hostname=server.mydomain.com
From /usr/local/directadmin/conf/directadmin.conf and restart directadmin.
 
Top