---
title: How to Add or Change the Domain of a WordPress Multisite
url: "https://pressable-staging.mystagingwebsite.com/knowledgebase/adding-or-changing-the-domain-on-a-wordpress-multisite/"
published: 2021-02-10
modified: 2024-08-20
author: Wayne McWilliams
---

Please Note:  Adding/updating the domain of a WordPress Multisite is now **automated**. Once the domain is added to your multisite on the Site settings page via the My Pressable Control Panel, the remaining steps (outlined in this guide) are automatically performed on the backend.

If you face any issues after adding/updating a domain on your WordPress Multisite, you can take a look at the steps below to manually make the necessary changes.

## Step 1: Adding the domain to your site on Pressable

After [pointing the domain to Pressable](https://pressable-staging.mystagingwebsite.com/knowledgebase/assigning-domain-pressable/), you can add it to your site on Pressable via the My Pressable Control Panel, under the “**Domains**” tab, as shown below:

![](https://i0.wp.com/pressable-staging.mystagingwebsite.com/wp-content/uploads/2023/11/add-domain-name.png?resize=1024%2C590&ssl=1)## Step 2: Updating domain in the wp-config.php file

This would require [logging into your site via SFTP](https://pressable-staging.mystagingwebsite.com/knowledgebase/setup-and-use-sftp-to-connect-to-your-wordpress-site/). In the site root (/htdocs) you will find the file wp-config.php.

Edit this file to update this line under the multisite setup as shown below. Replace *multisitetest.com*  with the (primary) domain that you wish to add to your site.

`define('DOMAIN_CURRENT_SITE', 'multisitetest.com');`

![](https://i0.wp.com/pressable-staging.mystagingwebsite.com/wp-content/uploads/2021/02/Screenshot-2021-01-17-at-10.23.15-AM.png?resize=511%2C269&ssl=1)

## Step 3: Updating the URL in the Database

This requires updating the URL in a few tables via [PHPMyAdmin](https://pressable-staging.mystagingwebsite.com/knowledgebase/access-phpmyadmin-with-wordpress/) which can be accessed through the Database tab on your My Pressable Control Panel. The *domain* field in all the rows needs to be updated to be the new domain. In this case *multisitetest.com.*

This change will need to be made in the following tables:

- wp\_options
- wp\_blogs
- wp\_site
- wp\_sitemeta
- wp\_#\_options

![](https://i0.wp.com/pressable-staging.mystagingwebsite.com/wp-content/uploads/2023/11/phpmyadmin-multisite-reference-change.webp?resize=768%2C232&ssl=1)

After making changes to the database, it is important to Flush the Object Cache. This can be done from the My.Pressable.com Dashboard under the site’s **Performance** tab:

![](https://i0.wp.com/pressable-staging.mystagingwebsite.com/wp-content/uploads/2023/11/flush-site-object-cache.png?resize=758%2C291&ssl=1)---

That’s all there is to it!

If you’re having trouble with any of these steps or have additional questions, contact support at help@pressable-staging.mystagingwebsite.com.
