I have a domain which I run two LAMP servers for.
One is a standard www.mydomain.com
server and the other is
a *.mydomain.com server.
I have two local DNS servers and two public DNS servers.
Both are configured the same way other than the public/private IP's of course.
Here is a snip of what part of it looks like.
ns1.mydomain.com. A x.x.x.x
ns2.mydomain.com. A x.x.x.x
mail.mydomain.com. A x.x.x.x
*.mydomain.com. A x.x.x.x
. A x.x.x.x
Internally, everything works as it should. When we enter www.mydomain.com
, we get the server we are supposed to. When we enter something.mydomain.com, we get what we are supposed to. This confirms to me that the LAMP server and application are configured correctly since they are responding.
However, from the public, testing from some remote DNS test services, if we enter www.mydomain.com
or mydomain.com, both lead to the www.mydomain.com
And if we enter one of the wildcard domains, say server1.mydomain.com, the tests always fail.
"Nameservers listed at parent: No nameservers found at parent nameserver. Fail"
This happens with or without an A record for the mydomain.com pointing to the wildcard LAMP server.
I'm at a loss and searching is finding nothing so thought I would ask here.