Do you want to switch domain name after migrating your shopping cart? LitExtension doesn’t provide the service of domain switching. This guide will help you how to get the job done.
To start with, let us clarify two basic terms:
- DNS (Domain Name System) – A global web system that accumulates different information, typically IP numbers, with domain names. Thus, when you enter a website address into a browser, your computer knocks to DNS, gives it the letters you’ve typed and receives an IP address instead. Then, it connects you to the requested Internet page.
- NS (Name Server) – A server that handles queries from your computer, about the location of domain name’s various services. In most cases, websites have two name servers to which they’re pointed to.
Here are the three most prevailing situations you might find yourself in after the automated migration:
- You have both stores hosted by the same provider, under the same domain. Yet, your target store is in the subdirectory.
- Both of your stores are hosted by the same provider, yet each of them has different domain name.
- You have source and target stores hosted by different providers, under different domain names.
Case 1: The same provider – the same domain
This is one of the easiest ones. Both of your stores are hosted by the same provider, under the same domain, but your target store is in the subdirectory.
Let’s assume the Source store is source.com and Target store is: source.com/target-store
- Log in to your FTP
- Give your source store any other name (source.com -> abcd.com)
- Create a new folder and give it the same name your source store folder had.
- Move all data from target-store folder (abcd.com/target-store) to the folder, you’ve just created and renamed – (source.com)
Case 2. The same provider – different domains
- Log in to your FTP.
- Give your source store directory any other name.
- Once your source store name becomes available, rename your target store folder and give it the title of your source store directory.
The switch is over, your target store has received the name of your source store.
Case 3. Different providers – different domains
Please note that in this case after you perform the procedure of domain name switch your target store will be unavailable for the period 24-48 hours.
To switch the domain in the situation when you have different providers and different domains follow the instruction below:
- Log in to your hosting provider admin account (or wherever your domain is registered)
- Move to Domains menu. (This menu name might be different within different hosting companies)
- Select the necessary domain.
- In the domain management menu – select Manage DS Records, below the Name Servers title
- Fill in the new name servers into the appropriate fields.
- Click to save the changes
Here are the three most frequently occurred reasons why your domain name leads to the old online store:
- The info on old DNS hasn’t been deleted from your domain details. To solve this – change your domain details so that they would point to the DNS of your new hosting provider;
- Your source store hosting provider still keeps your domain details in its DNS. To solve this – reach out to your hosting provider support and ask them to remove the data;
- Domain changes have not been spread among the DNS yet. To solve this: remain patient, domain switch is not a single-click procedure and requires time for the changes to be processed. Once after 48 hours period, there is no positive result – contact your hosting providers to report the problem.
If you dont have time to switch domain by your own, LitExtension could help you to do that by using “Change DNS and switch domain” service.