Obaid ur Rehman
asked on
Domain name not resolving to IP
Hi,
So my domain name registrar only allows me to add A/glue records. It does not have options to select between A/AAAA/CNAME/MX etc. I assume (because I am a newbie) that it does not host DNS server itself so I have to take care of it myself.
I have a LINUX server setup on CentOS 7 and BIND DNS server. I have created a master zone for the domain and added relevant records for FTP, Mail etc. The router is configured to forward http port to the server. I have listed the name servers on the registrar website (ns1.abc.com, ns2.abc.com). This info is also present on the BIND server.
I cannot access the website by the domain name abc.com but I can access it using the external IP. In my understanding I have setup the required things but I'm not sure if there are other things I have to look at. Am I missing something?
So my domain name registrar only allows me to add A/glue records. It does not have options to select between A/AAAA/CNAME/MX etc. I assume (because I am a newbie) that it does not host DNS server itself so I have to take care of it myself.
I have a LINUX server setup on CentOS 7 and BIND DNS server. I have created a master zone for the domain and added relevant records for FTP, Mail etc. The router is configured to forward http port to the server. I have listed the name servers on the registrar website (ns1.abc.com, ns2.abc.com). This info is also present on the BIND server.
I cannot access the website by the domain name abc.com but I can access it using the external IP. In my understanding I have setup the required things but I'm not sure if there are other things I have to look at. Am I missing something?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi again,
The domain is caretakers.pk
And the registrar does allow to use ns records, so I added my servers ns1.caretakers.pk and ns2.caretakers.pk on the registrar website and pointed towards my host IP to both.
My DNS server is BIND and it has a master zone for this domain as well as ns records.
Let me know if you'd need more information from my side.
Thanks!
The domain is caretakers.pk
And the registrar does allow to use ns records, so I added my servers ns1.caretakers.pk and ns2.caretakers.pk on the registrar website and pointed towards my host IP to both.
My DNS server is BIND and it has a master zone for this domain as well as ns records.
Let me know if you'd need more information from my side.
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So I rechecked all the configuration and found some misconfiguration. Fixed them and it's working. Thank you both!
create a cloutflare.com account and setup your dns records there.