Control Web Panel
WebPanel => Information => Topic started by: ercios on January 08, 2025, 08:17:10 AM
-
Hello everyone. I am having a big problem. This is my first post here. Any help will be appreciated. (Note: domain name and IP is not real)
I bought a new VPS, installed almalinux 8 and CWP to host my wordpress websites. I used mydomain.com to use as nameserver domain using "EDIT Nameserver IPs" in DNS Functions section. So my webserver nameservers setup as
ns1.mydomain.com
ns2.mydomain.com
Before doing that I setup these A records on domain registrar:
Type | Name | Value |
A | www | 128.11.11.11 |
A | srv | 128.11.11.11 |
A | ns1 | 128.11.11.11 |
A | ns2 | 128.11.11.11 |
A | @ | 128.11.11.11 |
CNAME | * | mydomain.com |
NS | ns1 | ns1.mydomain.com |
NS | ns2 | ns2.mydomain.com |
But unfortunately, wordpress.com and dreamhost and does not accept ns1.mydomain.com and ns2.mydomain.com. They mainly say as error that these host names are not registered. Wordpress.com says:
"Invalid attribute value [Name servers "ns1.mydomain.com", "ns2.mydomain.com" not found]".
Dreamhost says:
There were some problems with the nameservers you specified ns1.mydomain.com is not a registered nameserver, ns2.mydomain.com is not a registered nameserver
What am I doing wrong? Can you please help me resolve this problem?
Thanks
-
1. Check WHOIS of your domain and "dig" nameservers used by your domain for the records ns1.mydomain.com, ns2.mydomain.com:
dig @dns1.com ns1.mydomain.com
dig @dns2.com ns2.mydomain.com
(look for "answer" section)
replace "dns1.com, dns2.com" with the actual nameservers used by your domain (see WHOIS).
2. If your domain uses your own nameservers "nsX.mydomain.com" then register the nameservers at your registrar.
-
Did you glue the DNS names at the registrar of the domain name?
http://www.webdnstools.com/dnstools/articles/glue_records (http://www.webdnstools.com/dnstools/articles/glue_records)
https://mxtoolbox.com/problem/dns/dns-bad-glue-detected (https://mxtoolbox.com/problem/dns/dns-bad-glue-detected)
-
1. Check WHOIS of your domain and "dig" nameservers used by your domain for the records ns1.mydomain.com, ns2.mydomain.com:
dig @dns1.com ns1.mydomain.com
dig @dns2.com ns2.mydomain.com
(look for "answer" section)
replace "dns1.com, dns2.com" with the actual nameservers used by your domain (see WHOIS).
2. If your domain uses your own nameservers "nsX.mydomain.com" then register the nameservers at your registrar.
Thanks for the answer. I have done it but I do not get regarding the results shown. You say
dig @dns1.com ns1.mydomain.com
dig @dns2.com ns2.mydomain.com
That totally makes something like this
dig @ns1.mydomain.com ns1.mydomain.com
and
dig @ns2.mydomain.com ns2.mydomain.com
What is the point of this? Sorry I am a newbie. Thanks a lot.
-
Did you glue the DNS names at the registrar of the domain name?
http://www.webdnstools.com/dnstools/articles/glue_records (http://www.webdnstools.com/dnstools/articles/glue_records)
https://mxtoolbox.com/problem/dns/dns-bad-glue-detected (https://mxtoolbox.com/problem/dns/dns-bad-glue-detected)
Reading those 2 links but I don't get anything at all. Can you please simply explain how you can glue mydomain.com at a registrar? Let's say Namecheap. What to do? If you mean adding A records or NS records, at the top of this thread, I listed my DNS records:
Type Name Value
A www 128.11.11.11
A srv 128.11.11.11
A ns1 128.11.11.11
A ns2 128.11.11.11
A @ 128.11.11.11
CNAME * mydomain.com
NS ns1 ns1.mydomain.com
NS ns2 ns2.mydomain.com
-
https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/how-do-i-register-personal-nameservers-for-my-domain/ (https://www.namecheap.com/support/knowledgebase/article.aspx/768/10/how-do-i-register-personal-nameservers-for-my-domain/)