How to make the domain of the third level

How to make the domain of the third level

The domain of the third level (subdomain) is located on the domain of the second level. As a rule, it is registered free of charge, for example at registration on the website of the company providing a free hosting.

It is required to you

  • - desktop computer / laptop / netbook
  • - connection to the Internet
  • - any browser

Instruction

1. The easiest way register the domain of the third level is to create the website on a free hosting, at the same time you will have an opportunity to register a subdomain on the domain of the second level of a view subdomain.domain.ru belonging to a hoster. You can select the name of the domain of the third level, the most suitable to subject of your website. This option has one shortcoming - if you plan to untwist further the website on the Internet and to register it in different tops and ratings, then be ready that some ratings and partner programs are not adopted to participation by the websites located on free domains of the third level.

2. Also, if you already have own domain of the second level and a data plan of your hoster allows to create on it a number of subdomains, then you can come into a personal account and to leave there the request for creation of the domain of the third level, having specified its desirable name. Within several hours the domain will be ready to work and you will need only to register or check settings of DNS servers for this domain and to fill it with information.

3. If free creation of domains of the third level is not provided in your data plan or you already reached their limit, and do not want to create them for the mezzanine board, then you can create the folder with a name of the new domain on a hosting of a type of domain.ru/subdomain and then make the corresponding settings of the .htaccess file: % RewriteEngine OnRewriteCond {HTTP_HOST } subdomain.domain.ru$ [NC] RewriteCond of % {REQUEST_URI}! ^/subdomain/RewriteRule ^ (. *) % {HTTP_HOST} of $1 RewriteRule ^ (www.)? (.+). domain.ru (. *) / $2% {REQUEST_URI} [L] Thus, at a set of the address subdomain.domain.ru the Apache Web server will make automatic readdressing to domain.ru/subdomain folder contents

Author: «MirrorInfo» Dream Team


Print