How To Change The Domain On The Server

Table of contents:

How To Change The Domain On The Server
How To Change The Domain On The Server

Video: How To Change The Domain On The Server

Video: How To Change The Domain On The Server
Video: How to Rename Active Directory Domain Name in Windows Server 2019 2024, December
Anonim

Choosing the right domain is the key to the success of the site. It is important not to make mistakes when choosing the name of the resource, otherwise it may have a bad effect on its promotion. But there are situations when the name of the site is good, but you have to change it.

How to change the domain on the server
How to change the domain on the server

Instructions

Step 1

Domain change is carried out for various reasons. Perhaps due to a change of ownership, reorganization, or the site being filtered by search engines. Usually, if a resource falls under the AGS (filter), then it can be pulled out from there. If for this reason you want to change the domain, think about whether you should immediately change the name of the site or try to fix all the errors that have arisen as a result of incorrect optimization? Continue to post unique, high-quality, literate articles on the resource. Buy links on other sites. Of course, it can take a long time before you achieve any results. The most annoying thing is that there is no guarantee that the filter will be removed. If you don't want to waste your time and money and wait for any changes, read on.

Step 2

Select a new domain, transfer the site to it. To do this, go through the registration process and register DNS while waiting for delegation. On the hosting, bind the name to the resource. Then set up a redirect. To do this, write the following in the.htaccess file located in the root directory of the site: RewriteRule (. *) Http: // domain / $ 1 [R = 301, L] RewriteEngine onOptions + FollowSymLinks Do this in order not to lose your readers: they, following the old URL, will be automatically redirected to the new one.

Step 3

Remember to rewrite your domain in your robots.txt file. In order for search robots to index the site that finds a new address faster, add it to Google. Webmaster and Yandex. Webmaster. This is so that search engines know both the old and the new URL. This will make the indexing of pages missing on the old resource faster.

Step 4

On the old domain, set up the "Error 404" page. Notify site visitors that the resource has moved to a new address. After you complete all the steps, wait for the search bots to index your site with the new domain.

Recommended: