A domain name is required to have a custom web address. You need to register a web address in order to have a live website live on the internet. Once you register your domain it needs to be configured so that it leads to your hosted site (for this reason many choose to register their site through their website host).
Domain names are registered in yearly blocks. You can register domain names for several years in advance. Besides the price break, this can be advantageous in your search engine ranking as their system can use the planned longevity of your domain (and thus site) as an indication of your seriousness and thus rank you higher.
How Domains Work For Websites
- The browser asks the local/ISP DNS (Domain name server) for an IP address matching the web address. The IP address is the address of a web server.
- Typically the DNS might not have an answer, so
- It looks at the web address less then www prefix. That is the domain name.
- It goes to the whois database to find out the authorised nameservers.
- It asks the authorised nameservers the same question from step 1, eg what is the IP address for the web address. (that's what nameservers do)
- This new DNS data is often cached for up to 48 hours by the local DNS.
- Once the browser knows the IP address for a web address, it talks to the webserver, and tells it which web address it wants to fetch, including the whole URL.
- The Web browser decodes the whole URL and returns the appropriate page from the appropriate website.
How Domains Work For Email
- Your email is sent to a Outgoing Mail Server.
- The outgoing server asks the local/ISP DNS (Domain name server) for an IP address matching the end of the email address, eg everything after the @ . That is the domain name.
- Typically the DNS might not have an answer, so
- It goes to the whois database to find out the authorised nameservers.
- It asks the authorised nameservers the same question from step 1, eg what is the IP address for the domain name. (that's what nameservers do)
- This new DNS data is often cached for up to 48 hours by the local DNS.
- Once the outgoing server knows the IP address for a domain, it talks to the other parties incoming mail server, and tells it which email address it wants to delivery to.
- Done
How Domains Work
- Domains are registered with a Registry
- The Registry whois primarily contains contact details, expiry dates and authorised nameservers
- The authorised nameservers convert web addresses, and domain names into IP addresses for Email/Web services
So to Debug Issues...
- In a perfect world, Registry -> Nameservers -> Email server.... But there are lots to choose from at each level, so how do you know what is right?
- A registry whois often lists several nameservers, but they all basically point to mirror images of the same nameserver. You should not have any other nameservers actvite. If your domain name does not point to our nameservers eg ns1.cms-tool.net, then our nameserver config should be set to "External/None"
- If our nameserver config points to some other mail server via the MX record, eg no mx1.cms-tool.net, then you should disable the email services under the Email tab