---
title: "Use cases - How to change the domain of an existing website"
description: "Find out how to change the domain name of an existing website"
url: https://docs.ovhcloud.com/en/guides/web-cloud/web-hosting/how-to-change-the-domain-name-of-an-existing-website
lang: en
lastUpdated: 2025-10-28
---
# Use cases - How to change the domain of an existing website

## Objective

During the lifetime of your website, you may need to change the domain name used to access it.
The most common use case is a change of company name.
The aim of this tutorial is to explain the main steps you need to follow when you want to change the domain name of your website.

**This guide explains how to change the domain name of an existing website.**

:::warning
OVHcloud provides services that you are responsible for with regard to their configuration and management. It is therefore your responsibility to ensure that they function properly.

This tutorial is designed to help you with common tasks. Nevertheless, we recommend contacting a [specialist provider](https://partner.ovhcloud.com/en-gb/directory/) or reach out to the OVHcloud community if you encounter any difficulties. We will not be able to assist you. You can find more information in the [Go further](#go-further) section of this guide.

:::

## Requirements

- A [domain name](https://www.ovhcloud.com/en-gb/domains/)
- An [OVHcloud web hosting plan](https://www.ovhcloud.com/en-gb/web-hosting/)


***

### OVHcloud Control Panel Access

- **Direct link:** <ManagerLink to="/#/web/hosting">Web hosting</ManagerLink>
- **Navigation path:** <code className="action">Web Cloud</code> > <code className="action">Hosting plans</code> > Select your web hosting plan

***


## Instructions

:::warning
Changing a domain name to access your website may affect its SEO ranking.
Be careful about the changes you make, and contact a [specialised provider](https://partner.ovhcloud.com/en-gb/directory/) for SEO if necessary.

:::

To change the access domain name for your website, there are several steps to follow in a specific order.

### Step 1: Declare the new domain on your hosting [](#)
Declare your new domain name using our documentation on [adding a website to your web hosting](/en/guides/web-cloud/web-hosting/multisites-configure-multisite.md). Also declare its `www` subdomain to display your website as `www.NewDomain.tld` as well as `NewDomain.tld`.

There are several conditions to meet for this part:

- Your new domain must point to the same root folder as the domain currently used to access your site.
- Check that your new domain points to the IP address of your web hosting plan. To retrieve the IP address, log in to your <ManagerLink to="/">OVHcloud Control Panel</ManagerLink>, go to the <code className="action">Web Cloud</code> section, click on <code className="action">Hosting plans</code>, select your service, then retrieve the **IPv4** in the <code className="action">General information</code> tab.

:::warning
If you enable the **country IP** or **CDN** options with your new domain, be sure to use the appropriate IP address listed in our documentation [IP address list for Web Hosting clusters](/en/guides/web-cloud/web-hosting/clusters-and-shared-hosting-ip.md).

To find the cluster number where your hosting is located, go to the `Web Cloud
` section, click on `Hosting plans
`, select your hosting, then the `FTP-SSH
` tab. You will see the cluster number in the form **FTP server and SFTP**
: `ftp.cluster0XX.ovh.net`
 (where `X`
 is the cluster number).
:::

> **SSL certificates**
>
> If the original domain used to access your website has an SSL certificate, please refer to our 2 guides:
>
> - [Managing an SSL certificate on a Web Hosting plan](/en/guides/web-cloud/web-hosting/ssl-on-webhosting.md)
> - [Activating HTTPS on your website with an SSL certificate](/en/guides/web-cloud/web-hosting/ssl-activate-https-website.md)

If all actions have been correctly performed, the declarations of your domain names should be strictly identical **unless you are using a paid SSL certificate of type _Sectigo DV_, _Sectigo EV_, or _custom_**.

![multisites](/images/assets/screens/control-panel/product-selection/web-cloud/web-hosting/multisite/all-domain-same-config-enable.png)
:::info
Once you have completed step 1, you will need to allow between 4 and a maximum of 24 hours for the changes to propagate fully.

:::

If your website does not use databases and/or you do not rewrite URLs for your website, your website must already display correctly with your new domain. In this case, go directly to [step 3](#step3) of this guide. If not, continue to step 2 below.

### Step 2: Rewrite URLs of your website with the new domain

Most sites use databases to operate. The tree structure for these nodes is generally built around the domain originally used for your website. Additional actions are required for these sites.

:::warning
Warning, the operations described in step 2 are extremely sensitive and can have serious consequences for your website if they are not carried out with caution. If you have any doubts, do not try anything and contact a [specialist provider](https://partner.ovhcloud.com/en-gb/directory/).

Before you take any action, we advise retrieving a [backup of your FTP storage space](/en/guides/web-cloud/web-hosting/ftp-save-and-backup.md) and a [backup of your database](/en/guides/web-cloud/web-hosting/sql-database-export.md). This will allow you to restore your website in the event of an error.

:::

We will distinguish two types of website:

- CMSs (_Content Management System_) such as WordPress, Joomla!, PrestaShop, Drupal
- Classic websites designed by you or your service provider

#### Case 1: Your website is a CMS

Most CMSs can directly replace the domain originally declared for your website with another one via their backend administration panel.

Since CMSs are developed by third-party organisations and are not managed by OVHcloud, you will find below links to the official documentation for the various CMSs offered for installation on our hosting plans:

- WordPress: [https://wordpress.org/support/article/changing-the-site-url/](https://wordpress.org/support/article/changing-the-site-url/)
- Joomla!: The publisher of this software does not offer any documentation to date for changing the access domain for your website. Please contact the publisher directly on this subject. For more information, visit the official pages [docs.joomla.org](https://docs.joomla.org/) or [forum.joomla.org](https://forum.joomla.org/).
- Drupal: The publisher of this software does not offer any documentation to date for changing the access domain for your website. Please contact the publisher directly on this subject. For more information, see the official page [drupal.org](https://drupal.org).
- PrestaShop: The publisher of this software does not offer any documentation to date for changing the access domain for your website. Please contact the publisher directly on this subject. For more information, click [here](https://help-center.prestashop.com) to go to their official page.

Please note that for these CMSs, you can also edit the domain names directly [in the corresponding database](/en/guides/web-cloud/web-hosting/sql-create-database.md). You will need to change the URL for accessing your website in the table used for your CMS.

For other CMSs that are not offered for automatic installation by OVHcloud, please also contact their respective customer support to carry out this rewrite in a secure manner.

#### Case 2: You have a custom built website

To rewrite your URLs with your new domain, [log in to your website database](/en/guides/web-cloud/web-hosting/sql-create-database.md) then replace your old domain with the new one in the corresponding table.

Don't forget to check your `.htaccess` file to see if you need to update URL rewrites with your new domain.

If you used a service provider to create your website, contact them so that they can carry out the modification securely.

:::tip
Once step 2 is complete, your website must appear with your new domain.

:::

### Step 3: Remove the old domain name [](#)
To avoid "duplicate content" once your new domain name is fully operational with your website, you will need to remove the declaration of your old domain name on your website using the guide on managing [websites on your web hosting](/en/guides/web-cloud/web-hosting/multisites-configure-multisite.md).

:::warning
Don't forget to take care of your SSL certificate _Sectigo EV_, _Sectigo DV_ or _Custom_ as specified in [step 1](#step1).

:::

Once your old domain name is dissociated from your website on your web hosting and if it is registered with OVHcloud, you can redirect it using a [permanent visible 301 redirect](/en/guides/web-cloud/domains/redirect-domain-name.md). This will allow your visitors to be automatically redirected to your website while seeing your new domain name / URL in the address bar of their browser.

## Go further [](#)
[Hosting multiple websites on your Web Hosting plan](/en/guides/web-cloud/web-hosting/multisites-configure-multisite.md)

[Managing an SSL certificate on a Web Hosting plan](/en/guides/web-cloud/web-hosting/ssl-on-webhosting.md)

[Activating HTTPS on your website with an SSL certificate](/en/guides/web-cloud/web-hosting/ssl-activate-https-website.md)

[Redirecting a domain name](/en/guides/web-cloud/domains/redirect-domain-name.md)

[IP address list for Web Hosting clusters](/en/guides/web-cloud/web-hosting/clusters-and-shared-hosting-ip.md)

For specialised services (SEO, development, etc.), contact [OVHcloud partners](https://partner.ovhcloud.com/en-gb/directory/).

If you would like assistance using and configuring your OVHcloud solutions, please refer to our [support offers](https://www.ovhcloud.com/en-gb/support-levels/).

Join our [community of users](https://community.ovhcloud.com/).
