Cannot load up DirectAdmin..

CrustyDOD

Verified User
Joined
Sep 7, 2006
Messages
19
..or anything where hostname must be used!!

OK, this is weird, really weird! I have a few websites running on server, everything is working, emails, ftp, mysql,... All domains are viewable and everything!

But when i type for example: hostname.domain.tld/phpmyadmin i get error! If i type www.domain.tld/phpmyadmin or IP_ADDRESS/phpmyadmin then it works.

When i try to login to DA, the address is hostname.domain.tld:2222 i get error!

Bottom line is this, everytime i type hostname.domain.tld nothing works!

What could be a reason for this? I must say this worked just fine a few months ago and i haven't changed ANYTHING on the server and now it simply doesn't work anymore :S

Oh, hostname is set in /etc/hostname as hostname.domain.tld
 
Are you using DirectAdmin to control the DNS for your 'hostname.domain.tld'?

In other words, have you got an A-type record in your DNS for 'hostname.domain.tld'?

It should look something like this...

Code:
hostname.domain.tld. IN A 22.44.66.88

You can also check by issuing this command:

Code:
dig hostname.domain.tld

Your '/etc/hosts' file should also have 'hostname.domain.tld' listed in there with the relevent IP address.

It will be easier for us to determine the problem if you tell us exactly what your 'hostname.domain.tld' and IP address really is...
 
Back
Top