There are 3 types of domain names:
- Standard Domain - for example you just registered mywebsite.com and would like to host a website on it.
- Sub-Domain - if you already own have mywebsite.com hosted with us and want to add another website at products.mywebsite.com.
- Alias Domain - if you have bought another domain name, say mywebsite2.com and would like to 'point it' to mywebsite.com.
What is a Sub-domain?
In the DNS hierarchy a sub-domain is any part of the URL that precedes the second-level domain name and the top-level domain name. When looking at the domain "mywebsite.com", ".com" is the top-level domain and "mywebsite" is the second-level domain.
A sub-domain is anything beyond that second-level domain. That means www.mywebsite.com describes the "www" subdomain of "mywebsite.com" (making "www" the third-level domain in the example).
Sub-domains aren't limited to just one level. You can have a "photos" subdomain, making "photos.example.com", but you can also extend that with "www" to make "www.photos.mywebsite.com".
Note that Cloud Sites only automatically adds "www" when a site is created with a second-level domain name ("example.com"). If you want to use "www" with a subdomain we recommend creating the site with a fully-qualified domain name like "www.photos.mywebsite.com" so you can be sure that visitors can get to the site with the address you want them to use.