October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Set Up Multiple Domains on One WordPress Install

A practical guide to running several domains from one WordPress installation, including Multisite setup, DNS and server routing, native domain mapping, HTTPS, rewrites, and troubleshooting.
Length9 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use WordPress Multisite when each domain needs its own site, content, and settings. Create one network, point every hostname to the same WordPress directory, create a subsite for each domain, and map each hostname to its subsite. WordPress 4.5 and later provide native domain mapping, so a plugin is not required for the core mapping operation.

If several domains should display exactly the same site, do not create duplicate subsites. Choose one canonical domain and redirect the other hostnames at the web-server layer instead.

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.

Decide what “multiple domains” means

Separate websites on one installation

Choose a domain-based Multisite network when each hostname represents a genuinely separate website. Each subsite can have its own pages, posts, menus, media, and site settings while the network is administered from one WordPress installation. This is the right model for a group of related sites that share infrastructure but need distinct editorial areas.

The domains do not become separate WordPress installations. They are sites in one network, served from the same application directory and database installation. The network administrator creates the sites and maps their public URLs.

#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.

Several domains showing identical content

If example.com, example.net, and another alias should all show the same website, use one canonical WordPress site and redirect the aliases to it. A web-server redirect avoids duplicate site records and gives search engines and visitors one preferred URL. The official Multisite instructions describe separate network sites, not a generic alias configuration, so test the redirect design in the actual hosting stack before changing DNS or server rules.

Separate installations for strict isolation

Independent WordPress installations remain the better choice when sites must have completely separate administration, update schedules, databases, or migration plans. A Multisite network centralizes administration and shares the installation boundary. Moving a network is more complicated than moving one standalone site, so include that operational cost in the decision.

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

Requirements before you start

  • Administrative access to the existing WordPress files and database.
  • Control of DNS for every domain you intend to map.
  • Access to the hosting control panel or web-server configuration so each hostname can be routed to the same WordPress installation directory.
  • A working WordPress site with pretty permalinks enabled.
  • A tested backup of both the database and all WordPress files.
  • HTTPS certificates for the primary hostname and every mapped hostname. Server Name Indication (SNI) allows several certificates to be served from one server.
  • A maintenance window: network creation changes configuration files and rewrite rules, and the generated instructions are specific to your installation.

Read the official preparation guidance before choosing the network form: WordPress Multisite network preparation.

Choose the network URL model

Multisite first needs a network URL structure. Custom domains are then assigned to individual subsites. Your choice affects the default addresses, DNS work, and how new sites are provisioned.

Model Example default site URL DNS and server implications Best fit
Subdomain network site1.example.com On-demand subdomains normally require wildcard DNS. The web server must accept the wildcard hostnames and send them to the WordPress directory. Networks that will create many sites under one parent domain.
Subdirectory network example.com/site1 Sites are addressed by paths, so wildcard subdomain DNS is not needed for the default URLs. The server still needs the network rewrite rules. Networks that prefer path-based addresses or cannot use wildcard DNS.
Mapped external domain https://another-example.com The external hostname needs its own DNS record and hosting entry, then is assigned to a subsite. Manually created mapped domains can use server methods other than wildcard DNS. Separate public brands or projects that need their own top-level domains.

Subdomain and subdirectory networks are initial URL schemes; mapping a top-level domain to a subsite is a separate step. Decide which default scheme you want before running Network Setup.

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

Set up the Multisite network and map domains

1. Back up and check the existing site

Back up the database and files, verify that pretty permalinks work, and deactivate active plugins before creating the network. Record the current PHP, web-server, and hosting settings so you can restore them if a rewrite or plugin conflict appears. The official procedure is documented at Create a Network.

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

2. Enable the Multisite interface

Edit wp-config.php and add this line before the file’s “That’s all, stop editing” comment:

define( 'WP_ALLOW_MULTISITE', true );

Sign in to WordPress, open Tools → Network Setup, and select either a subdomain or subdirectory network. WordPress displays installation-specific values and additional lines for wp-config.php and the rewrite configuration. Copy those generated instructions exactly; do not substitute rules from another installation.

3. Apply the generated network configuration

After Network Setup, WordPress supplies constants and rewrite rules for your particular paths and domain. Add the displayed constants to wp-config.php, replace the existing WordPress rewrite block with the generated network block, and sign in again when prompted. The generated rules are part of the network configuration, not optional examples.

4. Route every hostname to the same installation

For each domain, create the required DNS record so the hostname resolves to the server’s IP address. Then configure the hosting panel’s virtual host, add-on domain, or equivalent server entry so that hostname uses the directory containing the Multisite installation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
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)

DNS alone is not enough: the server must recognize the hostname and pass the request to WordPress. The official preparation page states, “Whichever methods you use, you will need to configure your DNS (to map the domain name to the server’s IP address) and server (to map the domain name to the WordPress installation directory).” See the preparation documentation for the supported patterns.

For a subdomain network that creates sites on demand, configure wildcard DNS as required by your host. For manually created mapped domains, configure each hostname explicitly if that is how your server is managed.

5. Install HTTPS for every mapped domain

Install a valid certificate for the primary domain and each mapped domain. SNI allows multiple domain certificates on one server, but every hostname still needs to be covered. Use HTTPS in each site’s public URL and test both the front end and administration area on the secure hostname. Leaving one mapped domain on HTTP can expose login credentials and cookies and can create inconsistent redirects.

The domain-mapping guidance covers certificate and SNI considerations at WordPress domain mapping.

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

6. Create each subsite

In the network dashboard, open Network Admin → Sites → Add New. Enter the site address, title, and administrator details. The site address at this stage follows the network model you selected, such as site1 in a subdomain network or site1 as a path in a subdirectory network.

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

Create one subsite for each genuinely separate website. Do not create a subsite merely to hold an alias that should redirect to the same content.

7. Assign the external domain

Open Network Admin → Sites, edit the target subsite, and enter the complete mapped URL in Site Address (URL), for example:

https://example.com

Save the change, then test the home page, an internal permalink, the login screen, and the dashboard using that hostname. Repeat the mapping process for each additional domain. WordPress 4.5 introduced domain mapping as a native feature; the core operation does not require a domain-mapping plugin.

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.

8. Repair mapped-site cookies only when the documented symptom occurs

If a mapped subsite reports blocked cookies or silently fails to log in, the WordPress handbook documents this setting in wp-config.php after the network configuration:

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

Apply it only when the mapped-cookie symptom is present, then clear the browser’s old cookies and retest the affected hostname. Do not add the constant speculatively to a network that does not show the problem.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Web-server rewrite rules: Apache, IIS, and Nginx

Multisite requests must be rewritten so WordPress can resolve the correct site and permalink. Apache and IIS configurations can be generated by WordPress during network creation. Nginx configuration is not generated by WordPress; an Nginx administrator must implement the equivalent Multisite rules manually.

The official administration documentation states, “WordPress can generate Apache and IIS configuration rules, but it cannot generate Nginx configuration.” Use the generated Apache or IIS block without merging it blindly with unrelated rules, and have an experienced Nginx administrator translate the network requirements when Nginx is your front end: Multisite administration.

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

Native mapping or a plugin?

Approach What it provides When to choose it Trade-off
WordPress core mapping Assigns a domain to a Multisite subsite through Network Admin and the site URL fields. Use this for ordinary domain-to-subsite mapping on WordPress 4.5 and later. Requires correct DNS, server routing, HTTPS, and rewrite configuration; it does not remove those responsibilities.
Domain-mapping plugin May add provider-specific workflows or additional automation beyond the core operation. Consider one only when a documented feature is required and it is compatible with your WordPress version, hosting stack, and other network plugins. Adds another dependency, update path, and possible failure point to a function already available in core.

The choice is therefore about extra features and maintenance, not about making native mapping possible. Verify compatibility in a staging network before installing any mapping extension.

Subdomain versus subdirectory: practical trade-offs

  • Address clarity: subdomains look like separate hostnames; subdirectories make the network relationship visible in the path.
  • DNS work: subdomain networks may need wildcard DNS for automatic site creation, while subdirectory URLs do not use wildcard subdomains.
  • Custom domains: either model can host mapped top-level domains after the domains are routed to the installation.
  • Provisioning: choose subdomains when new sites will be created frequently under one parent domain; choose subdirectories when path-based URLs simplify your infrastructure.
  • Migration: changing the network model later can affect site URLs, redirects, and rewrite rules, so make the decision before production content is added.

Validation checklist after mapping

Test each domain independently instead of checking only the network’s primary URL.

  1. Confirm that the domain resolves to the intended server IP.
  2. Confirm that the hosting entry sends that hostname to the WordPress installation directory.
  3. Open the mapped HTTPS home page and verify that it shows the intended subsite, not the network’s primary site.
  4. Open a deep permalink to verify that the network rewrite rules are active.
  5. Sign in and sign out from the mapped hostname to verify cookies.
  6. Check that the browser shows a valid certificate for that exact hostname.
  7. Create a test page on one subsite and verify that it does not appear on another subsite.
  8. Test every mapped domain after changing a site URL, rewrite rule, certificate, or DNS record.

Troubleshooting common failures

Symptom Likely configuration issue Action
The domain opens the wrong site The hostname is not routed to the correct virtual host, or the subsite’s Site Address does not exactly match the public URL. Check the DNS record, hosting entry, and complete HTTPS Site Address in Network Admin.
Permalinks return 404 errors The generated network rewrite block was not applied, was replaced by the old single-site block, or is not supported by the web server as configured. Reapply the rules generated by Network Setup. For Nginx, have the administrator implement the Multisite rules manually.
A new subdomain does not resolve Wildcard DNS or an explicit DNS record is missing, or the server does not accept that hostname. Configure the DNS pattern required by your chosen network model and add the corresponding server entry.
HTTPS redirects loop or the certificate warning appears The mapped URL uses HTTPS but the server or certificate is configured only for another hostname. Install coverage for the exact domain, make the server accept HTTPS for it, and keep the mapped Site Address on the secure scheme.
Login reports blocked cookies or fails silently The mapped host is not being used consistently for the cookie domain. Use the documented COOKIE_DOMAIN setting only for this symptom, then clear old cookies and test again.
Changes affect every site unexpectedly The sites share one network’s administration and installation boundary. Review network-level settings and decide whether the sites require isolated single installations instead.

Administration, updates, and moving the network

A Multisite network gives you one administrative structure for several domains, which simplifies centralized oversight but increases the blast radius of configuration changes. Treat network-level changes, rewrite edits, certificate renewals, and plugin updates as changes that can affect more than one site. Keep separate content owners and site administrators aware of the shared infrastructure.

Maintain backups of the complete database and files before network changes and before migrations. A network move involves more URL relationships, host mappings, and rewrite behavior than moving one standalone WordPress site. If each project needs an independent migration timetable or independent server ownership, separate installations may be operationally safer even when they cost more to maintain.

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

The shortest reliable decision

Use Multisite with native domain mapping for separate websites that should share one WordPress installation. Pick subdomain or subdirectory URLs, back up first, enable Network Setup, route every hostname through DNS and the web server, apply the generated rewrites, secure every domain with HTTPS, create the subsites, and assign each complete mapped URL. Use a canonical-domain redirect instead when the domains are only aliases for identical content.

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.

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
Windows Errors? Fix Them Before They SpreadFree repair scan
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.