Author Topic: Problem in the subdomain  (Read 14923 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Problem in the subdomain
« on: March 23, 2015, 11:19:02 PM »
When I create a new site on a subdomain
Works without a problem but that you do dns Restart Apache stops and gives me errors in the file named
What to solve this problem

Re: Problem in the subdomain
« Reply #1 on: March 24, 2015, 05:11:42 AM »
can you please paste the error here?

Offline
*
Re: Problem in the subdomain
« Reply #2 on: March 24, 2015, 08:35:42 AM »
When I am doing Restart for this service
BIND DNS Server
Apache stops working after deleting your dns domain of this file named.conf

Code: [Select]
Stopping named: .[  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
/var/named/111111.com.db:24: file does not end with newline
zone 1111111.com/IN: NS 'free1.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: NS 'free2.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: not loaded due to errors.
_default/1111111.com/IN: bad zone
zone test.1111111.com/IN: loading from master file /var/named/test.1111111.com.db failed: file not found
zone test.1111111.com/IN: not loaded due to errors.
_default/test.1111111.com/IN: file not found
[FAILED]

To resolve the problem do I delete nameserver for this domain of nameserver file

Code: [Select]
// zone 111111.com
zone "111111.com" {
                                   type master;
                                        file "/var/named/111111.com.db";};
// zone_end 111111.com

// zone test.111111.com
zone "test.111111.com" {
                                   type master;
                                        file "/var/named/test.111111.com.db";};
// zone_end test.111111.com

But the location stops and give me this message
Can not open files on the server because the files permits
« Last Edit: March 24, 2015, 08:37:19 AM by mekosaad »

Re: Problem in the subdomain
« Reply #3 on: March 24, 2015, 08:46:02 AM »
A name record is missing for your name server.

Goto DNS Functions --> Edit Name Server IP'S. Check if nameserver's are correct. If correct just press save changes. This will try to add A name record for your name servers. Now u can restart ur bind (service named restart)

Also you can manually add A name record in your DNS file.
« Last Edit: March 24, 2015, 08:47:51 AM by BullTen »

Offline
*
Re: Problem in the subdomain
« Reply #4 on: March 24, 2015, 10:05:06 AM »
Nameservers does not have mistakes




Re: Problem in the subdomain
« Reply #5 on: March 24, 2015, 11:42:40 AM »
I am not saying that nameserver has issue. Seems like A name record for nameserver is missing. Clicking save changes will add A name record and then you can restart bind to check if issue has gone.

Offline
*
Re: Problem in the subdomain
« Reply #6 on: March 24, 2015, 12:25:37 PM »
Thank problem has been resolved