Hi guys. I am trying to add a new domain on my server. I want it to have its own nameserver ns.mydomain.com I followed the steps outlined here: http://www.howtoforge.com/ispconfig_dns_godaddy However I can't get my newly set up nameserver to resolve the domain correctly. dig @ns1.mydomain.com any mydomain.com never returns this line: mydomain.com. 86400 IN SOA ns1.mydomain.com. hostmaster.mydomain.com. 2006060705 28800 7200 604800 86400 So I guess the domain is not properly resolved by my nameserver. I have read somewhere that ISPConfig only allows two nameservers. Well I got another domain on an add on ip using its own nameservers. Might this be causing the problem? Any help with this is greatly appreciated. Thanks in advance.
dig @ns1.mydomain.com any mydomain.com returns the following: /etc/named.conf contains the following the zone file for mydomain.com in /var/named/pri.mydomain.com looks like this: I hope that helps.
after I added ns1.mydomain.com as an A record again the dig command now returns this: Still doesnt look like this is right.
What do Code: dig @ns1.mydomain.com mydomain.com dig @ns1.mydomain.com www.mydomain.com dig @ns1.mydomain.com mail.mydomain.com display?
dig @ns1.mydomain.com mydomain.com dig @ns1.mydomain.com www.mydomain.com dig @ns1.mydomain.com mail.mydomain.com The all seem to refer to the godaddy nameserver not my own???
Yes I did. I made added the new nameserver in a record. I added them in Host Summary, then pointed the domain to this new nameserver. After this didnt work i tried something else. I have reset all the abouve changes. Now i am simply pointing the domain to an already established nameserver on ISPConfig. (I use this for another domain, actually I wanted those domains to be complety sepertated, hence I tried to add another nameserver) But I am getting the same result. The nameserver does not properly resolve the new domain. Why is this not working? Everything in ISPCOnfig is set up 100% correctly. At least the things I can see inside the graphical interface...
Ok I seem to have found the problem but I have no idea how to fix it. I restarted BIND and checked my server logs. BIND is loading the zone file for the first domain on my server but not the zone file for the new domain I wanted to add. Any ideas on how to fix this?
Any errors or warnings in /home/admispconfig/ispconfig/ispconfig.log? What's the output of Code: ls -la /root/ispconfig ?
There are two warnings in /home/admispconfig/ispconfig/ispconfig.log ls -la /root/ispconfig outputs the following
I also checked the files in /var/named/ The file pri.domain1.com and pri.mydomain.com look the same to me. However the file pri.mydomain.com is shown in green color inside the named folder whereas the file pri.domain1.com is shown in white? Don't know what this is supposed to mean but its about the only thing that looks strange to me here.
Ok the nameserver problem is solved. I hired somebody to solve it. Don't ask me how. I would really like to share but i didn't quite understand what he did. The thing is now that the domain is resolved correctly there is another problem. I cant point mydomain.com to any IP other then the IP of domain1.com. Any other domain I choose in ISPconfig will go to the shared ip page and not to the root of mydomain.com. Can't use the Server IP, Can't use a third domain i added, I can only use the IP of domain1.com.(all domains I am talking about here are up and running) Really I am kind of losing it here. I feel like winning the lottery twice on the same day in a negative way (better make this sitting in a plane crash twice on the same day). Unbelievable how those micro baby steps can fail two work. Any help with this would be greatly appreciated. Thanks...
For the website settings, you must use one of the IP addresses that you see in the output of Code: ifconfig , or you will get the Shared-IP page.
Sure that's what I did. Still it's not working. There are three IPs in ifconfig. However It only works if I choose the IP of my nameserver. Using one of the other two IPs gets the shared IP error.