Libre Software

How to add a new domain/website to a WordPress network (multisite)

In this post you’ll find how to add a new site with a new domain name to your existing WordPress network (aka multi-site installation).

What you want:

  • Add a new site to your WordPress network – your new site has its own domain name.

What you need:

  • A working WP Multisite installation. If you didn’t set up a network yet, follow all instructions on setting up a network of WP sites here: WordPress Codex: create a nework.
  • The WP MU Domain Mapping plugin.
  • A new domain name, obviously. Check your installation to see if root of your new domain is the root of our WordPress install (same directory). You only need one directory for all domains / websites in your network.

Step 1: add a new site

Go to My Sites > Network Admin > Dashboard > Sites and Click on Add New. Here you’ll have to write something (anything: a dummy text) in the “Site Address” field – this will be reverted in Step 3.

Add new site to WP network

Step 2: domain mapping

Go to My Sites > Network Admin > Dashboard > Settings > Domains. If your new site is your first “sub-site” in the network, ID will be 2, and so on.


Add a new WP site's domain – Domain mapping

Why check primary? If you want this domain to be the reference for eventual “mirrors” – in this case if primary is checked will all redirect to Better to avoid duplicate content.

Step 3: real domain name instead of subdomain

Now go back to My Sites > Network Admin > Dashboard > Sites and edit your site. You can now change the domain field to match the real domain name of your site.

Update domain name to match mapping

Voilà, you’re done! Note that you can swap step 1 and step 2 if you want.


Here are the two most useful article referring to adding new domains to WP Network and mapping them to domain names:
How to map domains to sites within WordPress multisite on WPCandy
WordPress Multisite Beyond Basics: Essentials and Domain Mapping

Interested in backups for WordPress multisite?

Need to back up your WP MU (MultiUser aka Multisite) files and databases? Check out the following comparison of WordPress backup plugins:
Free multi-site compatible backup plugins for WordPress.

By Johannes Eva, September 2018 – November 2019

  • All
  • Archive
  • Image
  • Linux
  • Linux Server
  • Smartwatches
  • Updated
  • WordPress
How to remove TLSv1.0 and 1.1 and enable TLS 1.3 in Nginx on Ubuntu Server
Linux ServerUpdated

How to remove TLSv1.0 / 1.1 and enable TLS 1.3 in Nginx …

Photo: License: CC BY-SA 4.0 … on Ubuntu 18.04, 20.04 or 22.04 Last updated on September 29, 2022In January 2020, SSL Labs started to …

Read More →
LibreOffice installation on Linux

How to install LibreOffice 7.4 on Linux Mint, Ubuntu, MX Linux, Debian…

Last updated on September 27, 2022 This article describes how to install LibreOffice 7.4 on Debian/Ubuntu-based Linux distributions, such as Linux Mint, MX Linux, Ubuntu …

Read More →

AVIF browser test page: AVIF support in Chrome, Firefox, Edge…

Logo: Alliance for Open Media. License: BSD Last updated on September 29, 2022 Is your browser capable of displaying AVIF images? Here comes a fast answer …

Read More →
How to install Mozilla Firefox on Linux (Ubuntu, Linux Mint or any Linux distribution)

How to Install Firefox 105 on Linux Mint, Ubuntu, Debian or any other Linux distribution

Photo: janeb13 / Pixabay, Pixabay License Last updated on September 27, 2022 This how-to explains how to install Firefox on Linux, with or without replacing an existing …

Read More →
Automatic Updates in Ubuntu Server
Linux Server

How to set up automatic updates on Ubuntu Server 18.04, 20.04 or 22.04

This guide explains how to configure automatic updates in Ubuntu Server 18.04 “Bionic Beaver”, Ubuntu 20.04 “Focal Fossa” or Ubuntu 22.04 “Jammy Jellyfish” This tutorial …

Read More →
Libre Software

WordPress: remove links to images

WordPress default settings are somewhat awkward: if you insert an image (or any picture or media) in a post, the inserted image will link to …

Read More →
Sudo on CenOS, Red Hat Enterprise Linux and Scientific Linux

Sudo on CentOS / Scientific Linux / RHEL

This short howto is about setting up sudo on Red Hat Entreprise Linux and its derivates CentOS and Scientific Linux. It also gives a quick …

Read More →
Which Samsung Galaxy Watch should I choose?

Choosing the Right Samsung Galaxy Watch4: Size, Weight and Thickness

Photo: License: CC BY-SA 4.0 Galaxy Watch 40/44mm or 42/46mm “classic”? Last updated on October 1, 2022 How thin is the Galaxy Watch4? Thickness …

Read More →

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.