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