DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
VGSources
Blog

How to Set Up Domain Mapping in WordPress Multisite

WordPress 4.5+ includes native Multisite domain mapping. Follow the correct DNS, server, HTTPS, and Network Admin sequence, then troubleshoot cookies, redirects, certificates, and site-lookup errors.
WorldWordPress Multisite Length10 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WordPress 4.5 and later can map a custom domain to a Multisite subsite without a domain-mapping plugin. The reliable sequence is: point DNS at the network server, configure the web server to deliver the same WordPress document root, install HTTPS for the mapped hostname, then enter the complete HTTPS address under Network Admin → Sites → Edit → Site Address (URL). If any of those layers is missing, the dashboard change alone cannot work.

What domain mapping does in WordPress Multisite

A normal Multisite network gives each site an address based on the network’s structure, such as store.example.net in a subdomain network or example.net/store in a subdirectory network. Domain mapping assigns a separate hostname, such as store.example.com, to that existing site. WordPress still runs one installation and one network; the mapped hostname becomes the public and administrative address for that subsite.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In WordPress 4.5 and newer, this is a native feature. The mapping is stored in Network Admin rather than being created by the old MU Domain Mapping plugin. A plugin is normally unnecessary for a current installation unless you need a specialized workflow, compatibility with a legacy setup, or features such as custom alias and redirect handling that your network does not provide natively.

Mapping is not a DNS-only operation. DNS tells browsers which server to contact, and the web server must then select the WordPress installation for that hostname. Only after those requests reach the correct document root can WordPress use the URL saved for the subsite.

#1 Best Overall
Sale
Gaoye Blue Light Blocking Glasses
  • BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
  • EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
  • COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
  • LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
  • WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.

Requirements and decisions before you start

Confirm that the network itself is healthy

Start with a working Multisite network. You should be able to create and open ordinary subsites, sign in to Network Admin, and save site settings without unrelated errors. Fix a damaged or incomplete network first; domain mapping adds another hostname but does not repair the underlying installation.

Identify the network’s site structure

Multisite is installed as either a subdomain or subdirectory network. In a subdomain network, SUBDOMAIN_INSTALL is true; in a subdirectory network it is false. The custom-domain procedure works with either type, but knowing the original structure helps you recognize the site you are editing and troubleshoot redirects.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Have control of every required layer

  • Access to the DNS zone for the custom domain.
  • Access to the hosting panel or web-server configuration that controls virtual hosts, addon domains, or equivalent routing.
  • Permission to obtain and install an SSL certificate for the mapped hostname.
  • Network Administrator access in WordPress.
  • A current backup of the database and WordPress files before changing URLs or advanced bootstrap files.

Decide whether the domain will be the site’s only public address or an additional alias that redirects to a canonical hostname. WordPress’s native screen changes the site address; it does not by itself design a broader alias or redirect policy.

How a mapped request reaches the right subsite

A browser request passes through several independent checks:

  1. DNS resolution: the mapped hostname resolves to the server hosting the Multisite network.
  2. Web-server routing: the server recognizes that hostname and sends the request to the same WordPress document root used by the network.
  3. TLS negotiation: HTTPS presents a certificate valid for that hostname before WordPress handles the request.
  4. WordPress site lookup: Multisite matches the incoming host and path to the site whose Site Address (URL) you saved.

A failure at one layer can look like a failure at another. For example, a DNS record can be correct while the server still shows a hosting placeholder, and WordPress can have the right URL while the browser rejects the certificate. Test each layer separately rather than repeatedly changing the WordPress setting.

Step-by-step: map a custom domain to a subsite

1. Verify the network and record its current settings

  1. Sign in to the network’s WordPress dashboard.
  2. Open Network Admin → Sites and confirm the target subsite opens at its existing network address.
  3. Check whether the network uses subdomains or subdirectories. The setting is represented by SUBDOMAIN_INSTALL in the network configuration.
  4. Record the current Site Address (URL), home URL, and any redirect or reverse-proxy rules. This gives you a rollback reference if the new hostname produces an error.

Do not begin by editing the database or changing wp-config.php. The supported native workflow starts with infrastructure and finishes in the Sites editor.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Windex Gaming Cleaning Wipes, Pre-Moistened Wipes to Instantly Clean all Gaming Gear and Electronics, Resealable Packaging for a Freshness Lock, 25 count (Pack of 1)
  • WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
  • AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
  • PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
  • ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
  • COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed

2. Point the custom domain’s DNS to the network server

Create or update records so the hostname resolves to the server that hosts the network. For an apex domain, this is commonly an address record; for a subdomain such as shop.example.com, it may be an address or alias record depending on your DNS provider and hosting design. Use the exact hostname you plan to enter in WordPress, including whether you intend to use the apex or a www name.

The WordPress domain-mapping guidance assumes that every additional domain is already mapped to your DNS server and parked on the master domain. DNS propagation time varies by resolver and by the record’s time-to-live, so an old answer may remain visible temporarily. Check resolution from more than one network before treating an intermittent result as a WordPress problem.

DNS alone is insufficient. A correct record only directs traffic to an IP address; it does not tell the web server which virtual host should answer.

3. Route the hostname to the same WordPress document root

In your hosting control panel or web-server configuration, add the custom hostname as an addon domain, parked domain, or virtual host that shares the network’s existing document root. WordPress’s preparation guidance also covers wildcard subdomains and virtual hosts that use one document root. Do not create a second WordPress installation for the mapped site.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Open the hostname over plain HTTP while you configure routing and confirm that it reaches this network rather than a provider landing page, a different application, or a generic “site not found” response. If the server selects the wrong virtual host, changing Site Address (URL) cannot correct it.

4. Install and test HTTPS before changing the WordPress URL

Provision a certificate that covers the mapped hostname. The official guidance is to install SSL for the primary domain and use Server Name Indication (SNI) for additional domains. SNI allows one server and one IP address to present different certificates based on the hostname requested by the browser.

Rank #3
Sale
LISEN Cell Phone Stand Phone Holder for Desk, Office Decor Gadgets for Men
  • Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
  • Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
  • Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
  • ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
  • Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)

Visit the exact HTTPS address you will use, such as https://example.com, and verify that the certificate is valid, the request reaches the Multisite installation, and there is no redirect to an unintended hostname. Test an ordinary front-end page and, where possible, a login request before saving the new URL. Administrative cookies must be sent over the secure origin you intend to keep.

5. Enter the mapped address in Network Admin

  1. Open Network Admin → Sites.
  2. Locate the subsite and choose Edit.
  3. On the site settings screen, find Site Address (URL).
  4. Replace the existing network address with the complete HTTPS URL, for example https://example.com. Include the scheme and hostname; do not enter only example.com.
  5. Save the changes.

The native workflow applies whether the original subsite was created in a subdomain or subdirectory network. After saving, open a private browser window and test the mapped front end, /wp-admin/, and a logout/login cycle. A private window avoids stale cookies and cached redirects from the previous address.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Check links, media, and administrator access

Navigate through representative pages, forms, media files, and the login screen. Confirm that internal links use the intended hostname and that HTTPS does not produce mixed-content warnings. If a page still points to the old network URL, identify whether it is a hard-coded link, a cache entry, or a separate service rather than immediately changing more database values.

Subdomain and subdirectory networks: what changes

Network type Typical original address Configuration indicator Domain-mapping implication
Subdomain site.example.net SUBDOMAIN_INSTALL is true Wildcard or individual subdomain routing is commonly configured at the server. The custom domain still replaces the public site address after DNS, routing, and HTTPS are ready.
Subdirectory example.net/site SUBDOMAIN_INSTALL is false The original path identifies the subsite internally, but the mapped hostname is entered as a complete URL in the same Site Address field.

These network modes are not interchangeable after installation without a broader migration. Domain mapping does not require converting a subdirectory network to subdomains or vice versa.

Troubleshooting mapped-domain failures

The domain shows a parking page or another website

Check the DNS answer first, then inspect the server’s virtual-host or addon-domain entry. The hostname must resolve to the network server and share the WordPress document root. If DNS is correct but the response is wrong, the web server is selecting another site. Fix that routing before touching the WordPress setting.

The browser reports a certificate or HTTPS error

Ensure the certificate includes the exact hostname, not merely the primary network domain. Confirm that SNI is enabled for additional domains and that the certificate chain is installed correctly. Do not save an HTTPS Site Address until the same HTTPS URL opens without a certificate warning.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Ledagic IC+RGBW USB Powered Led Light Bar with App & Remote Control, 2 Pack
  • Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
  • Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
  • 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
  • Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
  • USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC

The site redirects repeatedly or returns to the old URL

Look for competing redirects in the hosting panel, web-server configuration, a reverse proxy, or a caching layer. Compare the requested scheme and host with the value saved in Site Address (URL). Clear application and browser caches only after eliminating a rule that deliberately sends traffic back to the old address.

WordPress says cookies are blocked, or login silently fails

This is a documented Multisite domain-mapping symptom. If the mapped hostname is correct, HTTPS works, and the browser still cannot retain the login cookie, the WordPress guidance documents defining the cookie domain in wp-config.php after the other network-creation code:

define( 'COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );

Back up wp-config.php before editing it, place the definition exactly once, and test in a private window. Remove conflicting cookie-domain definitions if another configuration already sets one. If a reverse proxy changes the host or scheme, verify that the application receives the intended host before relying on this workaround.

Only some pages work, or assets load from the wrong host

Inspect the failing request’s hostname and scheme. Hard-coded links, cached HTML, media URLs, and scripts may still reference the old network address. Purge caches after the canonical address is settled, then update genuinely hard-coded references. Do not use a blanket search-and-replace on the database without a tested backup; serialized WordPress data can be damaged by unsafe replacements.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The network reports that a site cannot be found

The ms_site_not_found condition occurs when WordPress has identified a network but cannot find a matching site. Confirm that the saved hostname is spelled exactly as requested, that the request reaches the correct document root, and that no unexpected path or port is being supplied. If your installation uses a custom bootstrap process, inspect the sunrise configuration described below.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Native mapping versus a plugin

For a current WordPress installation, native mapping is the simplest baseline. The following distinctions help when evaluating a legacy network or a specialized requirement.

Best Value
Sale
HUANUO FlowLift™ Dual Monitor Stand, Fully Adjustable Gaming Monitor Desk Mount for 13–32″ Computer Screens, Full Motion VESA 75x75/100x100 with C-Clamp & Grommet Base, Each Arm Holds 4.4 to 19.8 lbs
  • Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
  • Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
  • Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
  • Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
  • Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Consideration Native WordPress mapping (4.5+) Legacy or third-party mapping workflow
WordPress version Built into WordPress 4.5 and later. Historically required before 4.5; a plugin may still be used for a specialized or legacy network.
Core setup Uses Network Admin → Sites → Edit → Site Address (URL). Usually adds plugin configuration and may require additional bootstrap files.
Aliases and redirects Provides the core site-address change; broader alias behavior may need separate configuration. Some products advertise custom aliases or redirect controls, but behavior depends on the specific product and version.
HTTPS and wildcard domains Still requires DNS, server routing, certificates, and SNI where additional domains share an address. Does not remove those infrastructure requirements.
Maintenance Fewer moving parts and follows WordPress core behavior. Adds plugin compatibility, update, and vendor-support obligations.
Sunrise complexity Not required for ordinary native mapping. Some Multisite modes require a custom sunrise.php configuration.

The old WordPress MU Domain Mapping approach is primarily relevant to networks running before WordPress 4.5 or to a workflow that deliberately depends on it. A current third-party product may advertise Multisite support while requiring separate server configuration, plugin installation, and a custom sunrise.php. Evaluate those requirements against the native screen before adding another layer.

Sunrise.php and advanced compatibility work

WordPress can load wp-content/sunrise.php early in the request lifecycle. The ms_site_not_found reference documents this mechanism in the context of site lookup. Sunrise code is an advanced compatibility or customization path, not a prerequisite for ordinary domain mapping.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use it only when a documented integration requires it or when you understand the code’s host-resolution behavior. Back up the network before changing the file, keep a copy of the previous version, and test both the mapped site and unrelated subsites. A syntax error or incorrect host rule in an early bootstrap file can prevent the entire network from resolving sites.

Changing, removing, or rolling back a mapping

Move a subsite to another custom domain

  1. Prepare DNS, server routing, and HTTPS for the new hostname.
  2. Verify the new HTTPS URL reaches the network before changing WordPress.
  3. In Network Admin → Sites → Edit, replace Site Address (URL) with the new complete HTTPS URL.
  4. Test front-end pages, login, media, and redirects in a private window.
  5. Keep the old hostname routed long enough to handle planned redirects or communicate the change, rather than abandoning it while caches still contain old links.

Return to the original network address

Restore the previous Site Address (URL) in the same editor, then confirm that DNS and server rules still route the original hostname. If you changed wp-config.php or sunrise.php during troubleshooting, revert only the tested changes and preserve your backup. Clear stale cookies for both hostnames before testing again.

Operational checklist

  • The network can create and open subsites before mapping.
  • The subdomain/subdirectory mode is recorded.
  • The custom hostname resolves to the network server.
  • The web server sends that hostname to the existing WordPress document root.
  • An SSL certificate covers the exact hostname, with SNI configured when needed.
  • The HTTPS hostname works before the WordPress URL is changed.
  • Site Address (URL) contains the complete HTTPS URL.
  • Front end, administrator login, cookies, redirects, media, and representative links have been tested.
  • A backup exists before any wp-config.php, database, or sunrise change.

There is no published universal setup-time, adoption-rate, failure-rate, or search-visibility benchmark for Multisite domain mapping in the official guidance. Treat performance, propagation time, and SEO results as environment-specific rather than promising a fixed outcome.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.