ns1.mydomain.com and ns2.mydomain.com are the nameservers for mydomain.com
i have not set up mydomain.com as an "account" on host1.mydomain.com . it didn't seem like i should, because what if i also had another machine host2.mydomain.com , where would mydomain.com belong then?
is this wrong?
when i log on to whm, i always get a message saying there is no a entry for my host. i have created one many times in whm, but i still get the same message.
/var/named/mydomain.com.db has only this line:
host1 14400 IN A 18.104.22.168
where 22.214.171.124 is the "main" ip of my machine.
it doesn't look like a "full" zone file - which makes sense, to me at least, because i haven't set up my domain.com on this machine.
I am not sure if I can help, but I have a similar setup. In WHM you have a Hostname (Edit Setup): server_name.domain_name.com ? DNS works from right to left - you have to have the middle to find the end. I have: the standard DNS entries for my_main_domain.com and an addtional A record for the server name. Point your registered main domain from your register at you nameserver IP's and everything should work.
I know it can be done, but I don't know that much about DNS. When I was with a larger shared host the servers were named www1.host.com,www2.host.com I guess it would be just adding a record for the www1 and an IP address. Maybe there is a DNS expert around...?
yes, i have registered my nameservers at my registrar.
remember, the problem is _only_ with host1.mydomain.com .
the nameservers are working, generally. sites hosted on this server resolve by domain name.
i tried dns report, but you can't use it on a host, e.g. host1.mydomain.com.
i tried mydomain.com, and it looks bad, but then i don't have mydomain.com as an account on the machine. i did make mydomain.com point to ns1.mydomain.com and ns2.mydomain.com, becasue i thought i had to to make the nameservers work.