How to migrate from shared hosting to VPS

Ready to upgrade from shared hosting to VPS? This guide will walk you through the necessary steps

When you purchase through links on our site, we may earn an affiliate commission.Here’s how it works.

The majority of hosting clients start their first online experience on a shared server plan. That’s less than surprising, considering this is the most affordable option to launch a website, one that easily accommodates startup projects for both individuals and businesses.

But as your website grows and attracts more visitors, naturally, there comes a time for an upgrade.

The market is not shy of possible solutions -VPS,dedicated servers,cloud services. Still, unless some very specific needs arise, virtual servers are the next logical step in your hosting journey.

Before we take a closer look at how to migrate your shared plan to a VPS solution, here are some things you need to know.

What is VPS hosting

What is VPS hosting

VPS Hostingis a specific type of service, where the host splits a physical server into several virtual copies using a process calledvirtualization. Each of the new instances operates completely independently and receives a dedicated amount of server resources - CPU, RAM, disk space, and bandwidth. Additionally, every user gets their own OS (operating system) and full administrative access to customize the server.

Running a VPS is as close tomanaging your own dedicated serveras you can get. Minus the high prices, of course.

In terms of the scope of the service, we can outline two types of virtual server hosting -managed and unmanaged.

Are you a pro? Subscribe to our newsletter

Are you a pro? Subscribe to our newsletter

Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

As you can tell by the services included, inexperienced and first-time users naturally prefer the comfort and support stemming from managed VPS plans. On the other side of the spectrum, self-managed deals are mainly preferred by web developers and webmasters with more sufficient server knowledge.

Reasons to upgrade to VPS hosting

It’s great to know you have suitable upgrade options, but when should you consider moving from shared hosting to a VPS?

Some of the alarming signs include:

And that’s just scratching the surface.

But when the time comes for a needed upgrade - you have to be prepared tomigrate your website.

How to upgrade from shared to VPS hosting?

If you have opted for a self-managed VPS hosting solution, chances are you have to manually transfer your site data from the old to the new account. In such cases, you can follow these simple steps:

  1. Create a Site Backup

First of all, you need to copy your website files and associated databases, so you can safely move them to the new server. To do that, log into thecontrol panelwith your current host.

For thefiles, you can utilize anFTP clientlikeFilezillato connect to your hosting account. Locate your site files (typically in the root folder) and click on theExportoption. This will create an archive with your site data.

As for thedatabase(s), you need to find thephpMyAdmin toolin your control panel. Once inside, locate the related database and hitExport. After you verify all information, clickGoto finish the process.

If you want to keep your email communication as well, make sure to download your messages through your mail client before you proceed.

  1. Set up the VPS

Web hosting providers often cover this step, but self-managed VPS owners might need to go through it regardless. Most hosts utilize theLAMP stack(Linux, Apache, MySQL, PHP), but you are free to configure any other server technology.

Check with your provider about possible options.

  1. Upload site data on the new VPS

Now it’s time to move the archives from Step 1 to our new virtual server. You can easily do that via asecure SSH connection. All you need is the location of your file backup and the destination on the server. Your commands should look something like this:

scp ~/Downloads/backup_db.sql.gz username@server_ip_address:

scp ~/Downloads/wp-content.zip username@server_ip_address

Alternatively, yourFTP clientcan also do the job.

For easy database restore, head on to the control panel’sphpMyAdminsection. Go toNew Databaseand then chooseImport. This will allow you to select the database archive from your local machine and upload it to your server.

  1. Test everything

Now that you have migrated your shared hosting account to your new VPS, it’s time to verify everything is working properly. Try loading your website and testing all associated plugins to ensure nothing failed during the transition.

  1. Point your domain DNS

Your website might be fully functional on the VPS platform, but you also have to tell your domain where to find it. To do so, log into the account with yourdomain registrarand find the option for nameserver change.

Pointing the nameservers is as simple as inputting the ones provided by your VPS provider and saving them. Keep in mind there is apropagation periodafter such changes, so it might take24-48 hoursfor the modification to take full effect globally.

How Can Your Hosting Provider Help?

The above steps are great for manual transfer from Shared Hosting to VPS Hosting, but in reality - the host often offers this as a free service, especially if you areupgrading your plan within the same company.

Even if you’re moving from another provider, if both support the same control panel solution (oftencPanel), the new host shouldn’t mind transferring your data. It’s afairly straightforward process, so you can just ask if their support team will be able to assist with the move.

Making the switch

There are enough reasons to switch from Shared to a VPS hosting plan, even if you don’t see an immediate need for it. The visible improvement in performance, uptime, and security are not to be taken lightly. Combine that with the limitless scalability and server control, and you can see why this is turning to be one of the most popular hosting services in today’s business environment.

As prices for the average VPS plan keep dropping, we might see an even more rising demand for virtual servers.

What is your take on this? Do you think VPS services are taking over? And is your website ready for one?

Désiré has been musing and writing about technology during a career spanning four decades. He dabbled inwebsite buildersandweb hostingwhen DHTML and frames were in vogue and started narrating about the impact of technology on society just before the start of the Y2K hysteria at the turn of the last millennium.

Best free and public DNS server of 2024

Zoho turns to Nvidia NeMo to build proprietary LLMs

NYT Strands today — hints, answers and spangram for Sunday, November 10 (game #252)