Mobile app version of vmapp.org
Login or Join
Connie744

: Help with server hostname I have bought a domain, let's call it example.net. I am setting up a CentOS 6 home server with CentOS Web-Panel. I am planning to host at least one site from this

@Connie744

Posted in: #Centos #Dns #WebHosting

I have bought a domain, let's call it example.net. I am setting up a CentOS 6 home server with CentOS Web-Panel. I am planning to host at least one site from this domain, possible 2 if I can use sub-domains like sub.example.net.

Question 1:
What should be my CentOS 6 server hostname?

I create a zone in the DNS manager. Options I fill are
Zone/Domain: example.net and I also fill my xxx.xxx.xxx.xxx public IP of the server to the Web Server IP option. Primary NS and Secondary NS are ns1.centos-webpanel.com.

Question 2:
I am kind of confused about how this works. Do I put these 2 NS on my domain registrar to point to my site? And what are these 2 NS? Are they freely given to me by the WebPanel DNS service?

Question 3:
If I want to create a sub-domain, what do I do?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

The hostname of the server is different to the domain name of it. Using my network as an example (because i'm half Greek) the host names are...


zeus.domain.lan
hera.domain.lan
xena.domain.lan


but the domains for my servers on the web are...


web117.domain.com
web118.domain.com
db01.domain.com


Now why it it done this way, well the hostname for the machine is unique within the local network itself and is used for working with the machine on the local network, administration for instance, and can be anything you want, I have actually seen a company that used various swear words for host names, and another that used sexual positions for host names, but of course these would not look at all professional so companies tend to use different names for the DNS records for the internet facing side of the servers.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme