What is a subdomain and why is it needed?

Table of contents:

What is a subdomain and why is it needed?
What is a subdomain and why is it needed?
Anonim

What is a subdomain? What is it for? You will find answers to these and other questions in the article. Man is a social being, but sometimes the closeness of some people can be puzzling. This refers to the bustling neighbors that each of us has. But in the subdomains of our web resource, we can “settle” only those relatives that we like. How to do this, find out below.

Analogy

What is a subdomain?
What is a subdomain?

What are website subdomains? Let's start with an analogy. For example, you have a one-room large apartment. Its living area is enough to be divided into a couple more rooms. But for this it is necessary to obtain permission from certain authorities and install separating partitions between the premises.

Virtually the same thing needs to be done to break down your website into smaller pieces. How to add a subdomain? You must follow these steps:

  1. First, tell your domain registrar about splitting your base domain into moresmall.
  2. Change the file structure of your domain ("build partitions") - create new directories for the location of child elements on the virtual zone rented from the hoster.

Description

Before doing the practical part, let's deal with the theoretical base. Let's find out what web service subdomains are and what they are used for. The domain name structure (DNS) has a tree structure. That is, one part must be nested within another. Each domain except the root (first tier) is a subdomain.

Very often a subdomain is a regular third tier domain. Its name consists of the name of the underlying resource and its own. For example, there is a basic web site base.ru. Then its subdomain will be called like this: subdomain.base.ru. Although base.ru itself is a subdomain of the root domain ru.

Now you know what a subdomain is. The DNS design supports the formation of 127 nesting tiers. At the same time, the maximum length of the name of each cannot exceed 63 characters, and the domain common name cannot exceed 255.

Using a Web site subdomain

Create a subdomain for the site
Create a subdomain for the site

Before creating a subdomain, you need to find out when the use of such a resource structure is justified. Very often, branching the base domain name with subdomains is used in large portals. As a rule, such web sites consist of giant sections, which over time, for comfortable access to them by customers, need to be separated into separate sites.

An example of such crushing isimpressive online electronics store. It is logical to analyze each of his headings as an independent resource. And so that the client can immediately find himself in the category of products he needs, it is better to spread all the headings into separate subdomains. The address of each such heading is a fourth-level domain name.

Good points

We create a new subdomain
We create a new subdomain

Everyone should know what a subdomain is. The above decoupling of the underlying resource has a few more positives:

  1. Administration of the imposing portal becomes easier - this effect is achieved by splitting areas of responsibility among staff and management. Each team is responsible for its own product area.
  2. Free platform for testing new engines and software - before making a subdomain of the main heading, its space can be used to debug a new CMS. If you deploy a new engine on a subdomain, you will quickly discover all its negative and positive aspects, as well as fine-tune the engine to the quality of your hosting, and only then transfer the entire resource to its base. At the same time, during testing, the site works fine on the previous platform and generates income.
  3. Testing a new engine on a subdomain has no effect on the operation of the base domain.
  4. Separation of a support service or a forum from a basic resource - this approach is used on thematic sites or trade portals that provide information support for a particular service orproduct (software, hosting, etc.).

Subdomain and SEO

Create a subdomain
Create a subdomain

Many people wonder how to create a subdomain. This is very easy to do, but let's look at some more questions. The main stumbling block in the use of subdomains is their impact on the indexing parameters of the host web site. Moreover, no one will give you unambiguous answers on this aspect, so we will single out the more or less formed truths:

  • A subdomain provides more priorities for regional promotion of a product or service - a subdomain site design can be created in such a way that each of the regions will have its own resource.
  • A regional sub-domain of a leading web site, with its specific content, can more accurately show the identity of the area or region for which it is intended.

Perfectly, these are several subdomains, the content of which is created in different languages:

  • All search engines treat subdomains differently. For example, Google does not see them at all and displays them in the search results as a section of the leading site. Yandex distinguishes them only when they are recorded in its catalog. At the same time, Google will not display the base resource and its subdomain in the search results for an identical query.
  • A subdomain is a separate web site, but at the same time, the celebrity scores of the parent site are not inherited. At the same time, he takes over the effect of all pen alties from the search engines completely. This must be taken into account beforecreating a subdomain.

In fact, it is very difficult to predict the behavior of search engines in relation to subdomains, so when performing search engine optimization, focus on the right choice of keywords.

How to create hosting?

Setting up a subdomain is not a difficult process. To create subdomains, a hosting control panel is often used, thanks to which an impressive part of this process takes place automatically. Create a subdomain of your site through the account admin panel on the hosting resource like this:

  1. Go through the authorization procedure to access your personal account.
  2. In the administrative panel, select the "Subdomain Management" section.
  3. In the special field, enter the name of the future subdomain. Then click on the "Create" button.
  4. Next, the name of the subdomain should be displayed in the "Subdomain name" field, and all other information should appear in other fields.

The use of subdomains is accompanied by many difficulties, mainly related to search engine optimization and promotion, so their use is justified on large resources to separate a large thematic section into a separate web site. And also when promoting a service or product at the regional level.

Technical details

Create subdirectory and subdomain
Create subdirectory and subdomain

Data on the Internet is hierarchical. From a technical point of view, domains are divided into levels. The first tier domains are.com,.ru,.biz, what we call domain zones. Names hosted in various domainszones, in relation to the first level are subdomains. So, your.ru site is a subdomain relative to the ru area. or second-level domain.

Second-level web site subdomains are, from an engineering point of view, third-level domains. Owners of names of the second tier can register the third level on their own. If desired, the names of the third tier can even be traded to choose from.

Many free services are happy to donate the names of the third tier to everyone. For example, name.ukoz.ru or name.narod.ru. For a third-tier domain, you can create dedicated mail. These can be free mailboxes on Google, Yandex or Mail. Ru.

Recommended: