Complete server noob trying to setup a new cloud server account here. I've only dealt with shared-hosting accounts in the past, so I don't have much experience as a network admin setting up servers.
What I want to achieve:
I have 2 domain names: primarydom.com and otherdom.com. Primarydom.com is my primary domain name of course. I want both of these to point to the same server, serving 2 different Django websites.
My host told me that I should setup my own nameserver if I want to serve different domain names. Is that the best way to go about it? If not, then how?
I was given 2 IP addresses by my host, 1 public and 1 private. If I want to setup my own nameservers, do I use the public and private addresses as NS1 and NS2? Or do I just use the public one, in which case NS1 and NS2 would have the same IP address?
If I have ns1.primarydom.com and ns2.primarydom.com nameservers, do I then create an NS record pointing to said nameservers for www.primarydom.com to serve a website?
I was given a
CentOS server with
Interworx control panel, if that helps.
Thanks a lot guys!