I have installed CentOS Web Panel on my digital ocean droplet. I can access web panel using IP, and I have my domain example.com on name cheap.
I wanted to:
Access web panel using srv.example.com
And want to create ns1.example.com & ns2.example.com, so I can point sites on those records, which needs to be hosted on that server.
What I’m confused at:
How should I point my site example.com to server? (By using
A record
or how)Should I point srv.example.com by adding
A record
on name cheap and createNS records
there, and then point domain to those records?
What I’ve tried:
I tried to point example.com to server IP, and I was able to access web panel using domain, but it was accessible on main domain, and I tried to add hostname
record as srv.example.com
and it doesn’t work. Also, the ns
records weren’t working.