How do I change the operating system distribution on a Dedicated Server VPS?

Procédure

To change the Linux distribution on your LWS VPS, you reinstall the server with another system from your customer area, in the Advanced administration section, using OS reinstallation. The systems you can install are listed in the reinstallation window: this list changes with new versions, so it is the authoritative one. Reinstallation erases all content from the VPS: back up your data before starting.

Before you begin: back up your data

Make a list of what you need to keep: site files, databases, email addresses, application configurations. Also note down access details, created accounts, configured domains and any special settings you will need to put back after reinstallation.

Once the backup is complete, check that it is complete and readable, then store it safely outside the VPS.

Choose the new distribution

The right system depends on how you use your VPS:

  • your goals: Ubuntu is often chosen for its simplicity, Debian for its stability;
  • software compatibility: make sure the applications you need work on the chosen distribution;
  • the community: a widely used distribution offers more documentation and regular updates.

On a VPS Server, the systems offered are Debian, Ubuntu, AlmaLinux, CentOS, Rocky Linux and Oracle Linux. The available versions change over time and depending on your plan: check them at the time of reinstallation, in the Change operating system field.

  • “+ SSH” system: it is installed without a control panel. You do not have a graphical interface and you administer the server from the command line;
  • System with ISPConfig or HestiaCP: the control panel is installed with the system. You manage your sites, email addresses and databases from a web interface.

Reinstall the VPS with the new distribution

  1. Open your VPS management

    Log in to your LWS customer area, then open the management page for the VPS whose distribution you want to change, as explained in How do I manage my VPS dedicated server from my LWS Panel customer area?.

  2. Click OS Reinstallation

    In the Advanced administration section, click OS reinstallation.

    How do I change the operating system distribution on a Dedicated Server VPS?

  3. Choose the new system

    The Change operating system window opens. The Current operating system field reminds you of the installed system. In the Change operating system list, select the distribution to install.

    How do I change the operating system distribution on a Dedicated Server VPS?

    If the list shows “Old OS … no longer available or incompatible”, the current system is no longer offered: choose another system from the list.

  4. Confirm the reinstallation

    In the confirmation field, type reinstallation, as requested above the field, then click Validate. Reinstallation starts.

Check that the reinstallation is finished

In the list of your servers, your VPS appears with the status The server is being installed (orange clock). The installation takes a few minutes.

How do I change the operating system distribution on a Dedicated Server VPS?

Then check access to your server:

Restore your data

Once the new distribution is installed, transfer your backed-up data. The exact method depends on the chosen system, but the steps are the same:

  • Files: copy them to their location on the new system, then check their permissions and ownership;
  • Databases: create the databases, then import your backups into them;
  • Applications: install the software they need, then restore their configuration files;
  • Domains and certificates: set up your domains and SSL certificates again.

Your sites and email addresses will not work again until these elements are restored. Finally, check that each site displays correctly and that your email addresses can send and receive messages.

Frequently asked questions

This help article mentioned Debian 10 and Ubuntu 18.04: are they still offered?

This list dated from 2023 and is no longer up to date. Only the systems shown in your VPS reinstallation window can be installed. Debian 10 no longer receives security updates: choose a recent version from those offered.

I do not see the system I want

The list depends on the systems available for your VPS plan. An older system that is no longer offered appears as “no longer available or incompatible”: choose another system, or a newer version of the same distribution if it is offered.

My VPS has root access: can I switch back to managed hosting?

Yes, but the VPS must be reinstalled, which erases its contents. First back up your sites, emails and databases, and ask support for the procedure before reinstalling.

A certificate warning appears when I open ISPConfig or HestiaCP

After several reinstallation attempts in a short period, Let's Encrypt may temporarily refuse to create a new certificate: the panel then works with a self-signed certificate. Avoid chaining reinstallation attempts. Details are in How to reset a VPS dedicated server?.

The server remains in installation

Wait a few minutes, then refresh the list of your servers. If the status does not change after a long time, contact LWS technical support and provide your VPS reference (VPS-…).

Related articles

help.lws.net/a/308
Was this article helpful?

Yes

No

Read 25 579 times

Thank you! Feel free to ask questions about our documentation if you would like more information, and help us improve it.

Similar articles

Need more help?

A question about this article?

Léo, our assistant, answers you straight away based on our articles.

A problem with your account?

Our technical support team handles your request by ticket, from your customer area.

Open a ticket