I have a domain, dgredd (dot) net
that’s registered with namecheap; previously, both web and email were hosted with namecheap.
Now, I have a VPS from ovhcloud. It’s domain is vps-467b1834 (dot) ovh (dot) ca
and the IP Address is 139.99.199.214
.
I added the domain, dgredd (dot) net
to HestiaCP for a website. I went to namecheap and changed the A record to point to this IP Address and it worked.
Then I went to use email as well. This is where I’m confused.
My understanding is HestiaCP can be a custom name server. So I deleted all the records out of namecheap, then said, use Custom DNS and gave it the following servers (sorry forum limits my posts with addresses):
ns1 (dot) vps-467b1834 (dot) ovh (dot) ca
ns2 (dot) vps-467b1834 (dot) ovh (dot) ca
I gave it these because in HestiaCP, when I look at the DNS records for my domain, it had two @ NS records which were:
ns1 (dot) ovh (dot) ca
ns2 (dot) ovh (dot) ca
but I don’t own that domain, so my guess was that it should have been what I have above. I updated the two @ NS records in HestiaCP DNS records for this domain.
But now nothing is working.
In namecheap, under Advanced DNS, when I look at the “Personal DNS Server” is lists ns1 (dot) dgredd (dot) net
and ns2 (dot) dgredd (dot) net
and uses the IP address 139.99.199.214
All the other DNS records in HestiaCP look like what I’d want for everything to work, but I guess I don’t understand how to get namecheap to defer to HestiaCP?
I’m sure this is a pretty basic setup question, but I don’t know the right terminology to search for a solution. I’ve read a few posts and how-to guides, but none of them seem to answer how to use the DNS records in HestiaCP.
The reason I would like to just use HestiaCP for all my DNS records is because I like having everything in one place. I kind of just want to delegate namecheap to point to the HestiaCP DNS?
I logged into the server and I can see the named . service is running.