This is a question that I read almost daily, mainly in the support of Websites Are Us clients, where hundreds of clients join, bringing with them the domain already registered in other providers, or clients who register new domains to your Hosting to create different projects.
Domains are the connection between content hosted on a server, which, if not for the domain name and its corresponding DNS, would only be accessible from a IP, which is not comfortable or easy to remember, because it is not the same to think that you have to access http://184.108.40.2063/~ecotienda what to do the same with a domain properly pointed and accessible from the url http://www.ecotiendasana.com
No point of comparison true?For this reason, there are domains, which mainly help you get to various content hosted in a Hosting, do it quickly and without having to remember numerical blocks, but How are domains managed in a Hosting?
This will depend mainly on the use you want to give them, Let’s go by parts!, let’s first know the different ways to associate a domain with a Hosting.
- Main domain.
- Targeted / Parked (or parked) domain.
- Additional (or add-on) domain.
Note: I omit from this list the Redirection since to redirect the domain you must first fulfill some state of the previously mentioned.
Basically these are the usual forms or states that a domain can have.
In order for a domain to resolve in a certain Hosting, must point the DNS to the servers that the Hosting company provides you when you buy a Hosting with an associated Domain, so that you can make use of that accommodation space by accessing from the domain that you have activated when contracting the service.
The DNS (Domain Name System) is a hierarchical naming system for computers, services, or any resource connected to the Internet or a private network. This system associates various information with domain names assigned to each of the participants.Wikipedia
DNS is the essence that determines where a domain should respond when invoked from the browser or other methods, and knowing where the domain is pointing allows us to know if it is correctly associated with a Hosting or not.
There are many ways to know where the DNS of a domain points globally or the registries, since the same domain can respond on different servers to different services (mail, web, etc.) without affecting its visibility and operation.
Whois is the most common method of obtaining all the registration, property and DNS information of any domain, although depending on the suffix or TLD (Top-Level Domain), this information must be obtained from different channels.
You can see an example in this screenshot of the DonDNS service, which provides detailed information on the records NS, MX, CNAME, A, AAAA, TXT, SOA and others that a domain might have assets.
Before I move on, or get more involved, I will develop in a little more detail the states or the ways in which a domain can be used. (one)
When you contract a Hosting, two things can happen regarding the domain:
- That you have already contracted previously with another provider.
- That you hire it at the time of contracting the Hosting.
Either of these two solutions will result in the Hosting you are contracting having a domain associated with it, the one you have indicated in the contracting process, and which becomes the main domain of the acquired Hosting, so that it is a fundamental and determining piece.
This process establishes the username, the name of the default email account associated with the domain registered or indicated in the hiring process (in most Hosting services) and automatically, at the end of the hiring process, becomes linked to the Hosting while the state of the domain is not changed.
As a general rule, the main domain associated with a Hosting cannot be changed, although the associated domain as main domain if it can change in its state life cycle, and move another domain to occupy the state of Targeted or parked domain but without supplying the name of the account that, as a general rule, is associated with the domain with which it was contracted, even if it no longer exists.
From here on your hosting panel you can create email or FTP accounts associated with the main domain.
The main domain is the one that will also allow you to access your Hosting Panel (cPanel) or your email management via web (Webmail) from the browser without having to access it from your Panel or Client Area. For example:
Pointed / Parked (or parked) domain
Any domain other than the main domain not be a additional domain can be added in Hosting as Targeted Domain (or parked).
If you try to add as Targeted Domain (or parked) a domain whose DNS does not point to the Hosting in which you want to associate it, or at least the Record A, the hosting panel (cPanel) will return an error warning you that this is not possible.
The name server IP addresses could not be determined for marisqueria.com. Make sure the domain is registered with a valid domain registrar.
If you try to add as Targeted Domain (or parked) a domain that is already added as Additional Domain (or ‘plugin’), the hosting panel (cPanel) will return an error advising you that this is not possible.
Domain already exists marisqueria.com in the Apache configuration.
When adding a domain like Targeted Domain (or parked) you are allowing the domain to behave as a domain dependent on the main domain so that it shows the same contents as the main or dependent of a additional domain if by adding it we redirect it to a certain additional domain.
Additional Domain / Complement
These domains are exactly the same as any other domain, but when associating them with Hosting as Additional Domain (or ‘plugin’) become independent domains, allowing different websites to load from the one you have installed, for example, in the / public_html folder, which is the usual root folder for the user or client to install the website that will load from the main domain.
A Additional Domain allow you to have another website, hosted in another folder, for example / public_html / otra_web to show other content different from what you would show from the main domain.
This is very useful when you have a Hosting where you want to manage several independent websites, without having to contract a separate Hosting for each of the websites that you host with the usual provider. Most providers usually allow multiple sites hosted on the same Hosting.
The additional domain may be one that you have purchased from the same hosting provider or a domain that you have previously purchased and hosted at another hosting provider and that you can:
- Point the DNS to the new Hosting to use it but maintaining the administrative management in the previous one (renewals, etc).
- Aim the Record A so that only the web responds in the new Hosting and keep the mail and other services in the previous provider.
- Transfer completely to the new Hosting to centralize the management of the domain and administrative use in the new provider.
In cPanel for example you can add the new domain as Additional Domain since Domains, Additional Domains (or ‘complement’), Create an additional domain (or complement).
For additional domains that have MX Records or all DNS records pointed to the Hosting, you can create email and FTP accounts that you need.
The subdomains They are the easiest way to economize domains to manage different facilities or websites in separate folders in the same Hosting so that they load categorized content (for example websites in different languages) or totally independent, but departmental websites (for example departments of the same company) .
In the end the subdomains are nothing but subpages they always depend on a domain that can be principal or additional and without which they would not show the contents associated with the subdomain, since it does not have its own entity outside the domain.
A subdomains it cannot be transferred or transferred to another provider since it depends on the domain that gives it entity. If you can, for example, point a subdomain to external content, hosted by another hosting provider.
contabilidad.marisqueria.com pedidos.marisqueria.com rrhh.marisqueria.com
A subdomain can be an excuse to install another website in another folder, for example: / public_html / clone that we can access from http://tu_dominio.com/clon but in subdomain format: clone.your_domain.com and work on a site under development without affecting the main site.
Some domain states
(one) It is important not to confuse the states or ways in which we can associate a domain to a Hosting with the states that a domain can have during its active life (life cycle) and that I summarize below to make it clear what they are:
- Pending (Pending).
- In transfer process (Pending Transfer).
- Transferred (Temporary state).
- Transfer prohibited (It is usually because the domain has not been unlocked in origin).
- Registered (not necessarily active).
- Renovated (A temporary state during a phase of the domain’s annual life).
- Pending removal (Pending Delete).
- Not valid (Unable to register, invalid characters or other reasons).
- Redemption period (Redemption Period).
- Grace period (Renew Grace Period).
There are other states, but we will not go into detail in this article as it is not the purpose of it.
Although this article does not address details and particularities that may occur in the use of domains in certain circumstances, it does try to explain what uses a domain may have in a Hosting.
¿Crees que el artículo está incompleto, es poco comprensible o puede mejorarse?, envíanos un correo aportando tus ideas o inquietudes al respecto. ¡Tu feedback nos ayuda a ofrecerte mejores contenidos!
Member of the Websites Are Us technical team.
Coordinator of content on the Blog and YouTube.
Technical support in CyberProtector. Teacher at Websites Are Us Learning.