If you’ve already got a .barcelona domain, you’ve got your own online space. But did you know that with a .barcelona domain you can create as many additional spaces as you need at no extra cost?
What is a subdomain?
A subdomain is an extension of your main domain that goes before the domain name. If your domain name is cremacatalana.barcelona, a subdomain might be menja.cremacatalana.barcelona or dolça.cremacatalana.barcelona.
The structure is simple and always the same:
Firstly, the name of the subdomain, followed by a dot and then followed by the domain and its extension.
A subdomain works as an independent space: it can lead to another server, have its own IP address and connect external services without affecting the main website.
Subdomains work through the domain name system (DNS). When you create a subdomain, what you’re doing is adding a new register for the DNS of your domain.
How many subdomains can be created?
Once you’ve got a registered .barcelona domain, you can have as many subdomains as you need as the DNS does not establish a limit. The more subdomains you have, the more DNS registers you have to maintain, so make sure your registration company can support this.
Each subdomain name can have up to 63 characters, and you can even create subdomains with multiple levels, such as menja.dolça.cremacatalana.barcelona.
What are subdomains used for?
Subdomains can have whichever function you wish but they are usually used to organise complex websites or separate content that functions differently under the same space. Imagine you register cermacatalana.barcelona, you could create subdomains such as these:
- projecte.cremacatalana.barcelona, to explain your project.
- botiga.cremacatalana.barcelona, to sell your products .
- suport.cremacatalana.barcelona, to have a customer support page.
- app.cremacatalana.barcelona, to create your own app.
Being able to create subdomains offers plenty of flexibility within the same project, meaning that if it grows, you can add new subdomains without touching the content of your website which is already working.
An aspect to bear in mind: SEO
Search engines treat subdomains as separate websites, meaning it is important to work on the SEO of each subdomain if you want to be organically visible.
Because of this, when content is closely linked to the main website, a subfolder can be created instead of a subdomain. And for services or applications that work autonomously, the subdomain is the most suitable option. If you’ve got a .barcelona domain, configure your subdomains through the DNS and multiply your online space.