directadmin control panel does not resolve to ip address

comnfo

Verified User
Joined
Aug 22, 2011
Messages
9
When accessing the Directadmin control panel via a browser it resolves only to the main server ip address, eg. domain.com:2222 resolves to https://x.x.x.x:2222 unless you type out the full address, eg. https://www.domain.com:2222 then it will resolve correctly to Directadmin control panel.

What file to I need to modify so that when I type in either domain.com:2222 or domain1.com:2222 it will resolve to the correct domain name control panel instead of the server's ip address?

Thanks in advance.
 
Back
Top