1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Understanding the difference between Domain, Subdomain, and Alias
This guide explains the differences between a Domain (or main site), a Subdomain and an Alias.
Preamble
- Although they are related, these three elements (Domain, Subdomain, and Alias) have different functions and purposes.
- They can impact a Web Hosting via its domain name, or even the email service since it is quite possible to have email addresses on a subdomain, for example.
What is a Domain?
The domain or domain name is the main entrance to your website. It is from this that your users will access your content. It is this main domain that defines what will appear in the URL bar of your users' browsers.
Prerequisites
- Own a domain.
- Own an Infomaniak Web Hosting.
Refer to the guide Create a new site on your Web Hosting.
What is a Subdomain?
The Subdomain is symbolized by an additional word that is in front of your main domain name. This is very useful in several cases, for example:
- this can be used to display "exclusive" or targeted content, for example, by going to
faq.infomaniak.comyou arrive at the knowledge base where all the guides are located - this can also be used (temporarily or permanently) when creating a new site or redesigning an existing site, for example, by creating
new.domain.xyzwhen the main site was previouslydomain.xyz
Prerequisites
- Own at least one domain.
- Own an Infomaniak Web Hosting.
Refer to the guide Add a subdomain to your Web Hosting.
What is an Alias?
An Alias or Alias Domain is a second domain name that points directly to your main site; they share the same web pages. The alias is another entrance to your website. For example, the main site of the Swiss Confederation is www.ch.ch and www.suisse.ch is its alias.
Prerequisites
- Own multiple domain names.
- Own an Infomaniak Web Hosting.
Refer to the guide Add an alias to your Web Hosting.
The equivalent also exists for a Mail Service.
The benefit of an Alias is that it allows you to increase the visibility of your site with your target audience by offering them more entry points to access it.