New website on a subdomain, how to move it to the main domain without taking the old one down

For a smooth new website launch, the new site is built on a subdomain of the same hosting account, for example new.example.gr, while the old one stays online at example.gr. When the new site is ready, you keep a backup of the old one, choose an off-peak day and time, and the switch to the main domain takes only a few minutes. Konet moves the site from the subdomain to the main domain free of charge, with a ticket from the account owner.

Why on a subdomain in the same account

In a website rebuild or a website redesign there are three options for where the new site is built. A subdomain in the same account is the safest.

Where it is built What happens at the switch
Subdomain in the same account Files and database change place on the same server. DNS and email do not change, so there is no propagation time
Another domain, e.g. the developer's Every path inside the database has to change, and many plugins and licences stay tied to the other domain
Another server or provider Data has to be transferred and DNS changed, and for a few hours some visitors see the old site and others the new one

How to create the subdomain and set up the new WordPress there, with WP Toolkit, Softaculous or by hand, is explained in WordPress staging and test site and in creating a subdomain in cPanel. From day one lock the subdomain with a password in cPanel Directory Privacy, so Google does not find it before its time.

The switch plan step by step

When What you do
During the build New website on the subdomain, password protected. The old site works as usual
A few days before Review by the owner, list of old URLs, choice of date
Shortly before Backup of the old site, for an e-shop the recent orders and customers
Switch day The new site moves to the main domain, checks on pages, forms and payments
First weeks Redirects, Search Console, monitoring for errors

Go live checklist, what you check before the switch

  1. The owner has seen everything. Pages, texts, prices, forms, policies and the mobile versions. After the switch, corrections are made on the live site.
  2. List of old URLs. Keep the addresses of the important pages of the old site, so you can add redirects where they change.
  3. Backup of the old site. JetBackup 5 keeps copies automatically, as we explain in the JetBackup 5 guide. If you want an archive of the old site for the future, also download a full backup from cPanel > Files > Backup.
  4. Email sending and payments. Test that forms send and that payment methods are ready to switch from test to live mode.
  5. Premium plugin and theme licences. Many licences are activated per domain. Check whether they need to be activated again on the main domain.
  6. Tracking. Analytics, Tag Manager and ad pixels should be set up on the new site.

A new site for an e-shop, what happens to orders and customers

While the new e-shop is being built, the old one keeps taking orders and new customers. If the data was copied to the new site some weeks earlier, whatever came in since is missing.

  • Shortly before the switch, the orders and customers that came in since the last data transfer are added to the new e-shop.
  • If you change platform, for example from another system to WooCommerce, you need a full list of all products, including inactive ones, with SKUs. Every old order has to be matched to a product in the new e-shop, otherwise it does not show correctly in the customer's account.
  • Spot check customers and orders, before and after the switch.

For the same reason, never roll the whole e-shop database back to an old backup without a plan. See how to restore a backup on a WooCommerce e-shop without losing orders.

When to make the switch

Choose a low-traffic period. Avoid the days before a big sale, a new product launch or the holidays, and your site's peak hours. For most sites a good time is early morning on a weekday, so there is the whole day for checks and fixes.

How to ask Konet for the move

Open a ticket from the owner's Client Area and include:

  1. The subdomain with the new website and the main domain it will go to.
  2. The day and time you want.
  3. That the owner has reviewed the new site and agrees to the replacement.
  4. Whether you want a copy of the old site's files and database to be kept.

If the switch is requested by the developer or another partner, we need written confirmation from the owner inside the ticket, not only from the partner. How to give a partner access is explained in partner access to your account.

What you check after the switch

  1. Open the site in a private window and clear the cache, as in clearing the cache.
  2. Check that no links or images from the subdomain are left anywhere. The address is changed across the whole database as we describe in changing the domain on hosting and on the website.
  3. Turn off the option that discourages search engines, if it came over from the subdomain.
  4. Add a 301 redirect from every old URL that changed to its new equivalent, with cPanel Redirects or a plugin. What else changes in Google with the new website, titles, descriptions and sitemap, is in title and description in Google after the new website.
  5. When everything has worked for a few days, delete the subdomain and its database.

Frequently Asked Questions

Will the site go down during the switch?
In the same account the change takes a few minutes, because nothing changes in DNS. Visitors see either the old or the new site.

Will my email be affected?
No. Email is in the same account and is not touched when the website changes.

Does Konet charge for moving a site from a subdomain to the main domain?
No, we move a site from a subdomain or staging to the main domain of the same account free of charge.

If something goes wrong, can I go back to the old site?
Yes, from the backup of the old site you kept beforehand. For an e-shop, first think about the orders placed on the new site in the meantime.

Can I make the switch myself?
Yes, if the site is WordPress, with the steps in WordPress staging. If you don't want to take the risk, ask us to do it.

Will I lose positions in Google with the new site?
A temporary fluctuation is normal. With 301 redirects from the old URLs and no lost pages, positions usually recover within a few weeks.

Was this article helpful?

Related service Konet Web Hosting cPanel, LiteSpeed and automatic backups: 24 every 2 hours for 48 hours, then 6 daily, 4 weekly and 3 monthly.