Knowledge base
1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understanding the difference between Domain and DNS area
This guide explains the operation of a domain name and a DNS area.
Preamble
- When you surf a website
https://www.abc123.xyz
for example,abc123.xyz
is the domain name. - Each domain name has DNS (Domain Name System), which indicates where (for example, which provider) the DNS field is located.
- The DNS area then allows the management of different domain name services to be entrusted to different providers.
- For a single domain name, for example, it is possible to entrust:
- Web hosting a provider X (via type recording "
A
") - and Mail Service to a Y provider (via type registration "
MX
")
- Web hosting a provider X (via type recording "
- For a single domain name, for example, it is possible to entrust:
Domain name, DNS and DNS area, then services
Who manages what?
- Each domain name is reserved and managed by a registrar (Registration Office). P.ex Infomaniak is registrar, one of the cheapest in Switzerland.
- The DNS of a domain name are configured with the registrar who manages the domain name.
- The DNS area can be supported by the registrar or another provider.
- Web hosting and Mail Service can be supported by any hosting provider.
In the most complex case, it is therefore possible to have 1 different provider for the following services: domain name booking and DNS management, DNS area management, Web hosting, Mail service.
Infomaniak
As registrar and host, Infomaniak can manage all these services. It's the simplest solution.
- In the case of Infomaniak the DNS are usually of the form nsXX.infomaniak.com and nsXX.infomaniak.com (XX as 11 or 12 e.g.).
- You can edit the DNS of your domain name, as well as modify the "inside" of these DNS i.e. modify the DNS area of a domain name.
And in these DNS areas, to redirect traffic to services, we distinguish:
- one MX record which makes it possible to point a domain name (
domain.xyz
e.g.) to an email server. - one Registration A which makes it possible to point a domain name (
domain.xyz
e.g.) or a sub-domain (exemple.domain.xyz
e.g.) to a Web server that has a static IP address (if not, you would have to edit the A record to enter the new IP address - check out this other guide on this subject)
Some possible situations
Examples and fictitious names
All services are at Infomaniak | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | Infomaniak |
Domain name DNS | ns1.infomaniak.com | So zone DNS must exist in -> | Infomaniak |
site hosted by -> | Infomaniak | Therefore zone DNS must contain record. | 123.45.67.8 e.g. |
email hosted by -> | Infomaniak | Therefore zone DNS must contain record. MX | mx-mail.maniak e.g. |
All services are at Infomaniak except messagingβ | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | Infomaniak |
Domain name DNS | ns1.infomaniak.com | So zone DNS must exist in -> | Infomaniak |
site hosted by -> | Infomaniak | Therefore zone DNS must contain record. | 123.45.67.8 e.g. |
email hosted by ->β | Medical Serviceβ | Therefore zone DNS must contain record. MXβ | med-mx.net e.g.β |
All services are at Infomaniak except the websiteβ | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | Infomaniak |
Domain name DNS | ns1.infomaniak.com | So zone DNS must exist in -> | Infomaniak |
site hosted by ->β | Clinicβ | Therefore zone DNS must contain record. β | 9.87.65.4 e.g.β |
email hosted by -> | Infomaniak | Therefore zone DNS must contain record. MX | mx-mail.maniak e.g. |
All services are at Infomaniak except domain nameβ | |||
---|---|---|---|
domain nameβ | domain.xyzβ | registered with ->β | GoMamieβ |
Domain name DNS | ns1.infomaniak.com | So zone DNS must exist in -> | Infomaniak |
site hosted by -> | Infomaniak | Therefore zone DNS must contain record. | 123.45.67.8 e.g. |
email hosted by -> | Infomaniak | Therefore zone DNS must contain record. MX | mx-mail.maniak e.g. |
All services are at Infomaniak except the DNS areaβ | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | Infomaniak |
Domain name DNSβ | ns.privateDNS.orgβ | So zone DNS must exist in ->β | Private DNSβ |
site hosted by -> | Infomaniak | Therefore zone DNS must contain record. | 123.45.67.8 e.g. |
email hosted by -> | Infomaniak | Therefore zone DNS must contain record. MX | mx-mail.maniak e.g. |
No service exists with Infomaniak except domain nameβ | |||
---|---|---|---|
domain nameβ | domain.xyzβ | registered with ->β | Infomaniakβ |
Domain name DNS | ns.privateDNS.org | So zone DNS must exist in -> | Private DNS |
site hosted by -> | Clinic | Therefore zone DNS must contain record. | 9.87.65.4 e.g. |
email hosted by -> | Medical Service | Therefore zone DNS must contain record. MX | med-mx.net e.g. |
No service exists with Infomaniak except the DNS areaβ | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | GoMamie |
Domain name DNSβ | ns1.infomaniak.comβ | So zone DNS must exist in ->β | Infomaniakβ |
site hosted by -> | Clinic | Therefore zone DNS must contain record. | 9.87.65.4 e.g. |
email hosted by -> | Medical Service | Therefore zone DNS must contain record. MX | med-mx.net e.g. |
No service exists with Infomaniak except for courierβ | |||
---|---|---|---|
domain name | domain.xyz | registered with -> | GoMamie |
Domain name DNS | ns.privateDNS.org | So zone DNS must exist in -> | Private DNS |
site hosted by -> | Clinic | Therefore zone DNS must contain record. | 9.87.65.4 e.g. |
email hosted by ->β | Infomaniakβ | Therefore zone DNS must contain record. MXβ | mx-mail.maniak e.g.β |
etc.
Link to this FAQ: