I'm planning to launch a small personal website soon, hosted on a VPS.
I have some experience with local DNS server (bind9) configuration, but I've never configured a public domain.
How does the management of a domain look like if I buy the domain from a company like namescheap or OVH? Do I get to edit my personal configuration file, which reflects my domain and sub-domains? Or can I only configure an IP for my domain?
Let's say I have the domain site.mock
, can I configure sub-domains freely, like www.site.mock
and faq.site.mock
?
I also saw that I can choose the DNS server (e.g. for OVH), between their DNS server and a specific one, given the Name and IP address of the DNS server.
Could I theoretically set up my VPS, which hosts my website, set up a bind9
and then buy the domain and set the name server to the VPS?
In summary, how does one typically manage DNS entries when buying a domain from a company like GoDaddy, NameCheap or OVH?
And could the DNS server be set to a server's IP address, which's hostname isn't mentioned in any other DNS server yet?