Hi there,
I have been working on this problem for half a day, and I cannot figure out what is is going wrong.
This is a new server, running CentOS 7 with DirectAdmin 1.55.0. I have another older server running DirectAdmin for over 4 years now, always working perfect and when there was a problem, I could fix it, but this time... this server... I don't know.
The problem is, when I log into DirectAdmin as admin, I go to User Level -> Domain Administration -> Add Another Domain, I fill in the domain name I want to use, I get Domain Created.
But both services named and httpd won't restart and give an error.
The files /usr/local/directadmin/data/users/admin/httpd.conf and /var/named/domain.com.db do not fill in the IP address, the |IP| is blank.
For example, if I try to add domain.com, httpd.conf has a line like:
Instead of:
(IP address is fake)
And domain.com.db has lines like:
Instead of:
At Admin Level -> IP Management, there is the right IP address, with Status server.
I need to add a client domain to this server, and I just cannot get it to work. I tried a lot of things, but I am lost.
Can someone point me in the right direction?
Thanks!
JAM
I have been working on this problem for half a day, and I cannot figure out what is is going wrong.
This is a new server, running CentOS 7 with DirectAdmin 1.55.0. I have another older server running DirectAdmin for over 4 years now, always working perfect and when there was a problem, I could fix it, but this time... this server... I don't know.
The problem is, when I log into DirectAdmin as admin, I go to User Level -> Domain Administration -> Add Another Domain, I fill in the domain name I want to use, I get Domain Created.
But both services named and httpd won't restart and give an error.
The files /usr/local/directadmin/data/users/admin/httpd.conf and /var/named/domain.com.db do not fill in the IP address, the |IP| is blank.
For example, if I try to add domain.com, httpd.conf has a line like:
Code:
<VirtualHost :80 >
Instead of:
Code:
<VirtualHost 82.82.12.1:80 >
(IP address is fake)
And domain.com.db has lines like:
Code:
ftp 14400 IN A
mail 14400 IN A
Instead of:
Code:
ftp 14400 IN A 82.82.12.1
mail 14400 IN A 82.82.12.1
At Admin Level -> IP Management, there is the right IP address, with Status server.
I need to add a client domain to this server, and I just cannot get it to work. I tried a lot of things, but I am lost.
Can someone point me in the right direction?
Thanks!
JAM