DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon 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 Now×
FREEDOM251

Freedom251 › Blog › DNS

How to Set Up Multiple Domains on One WordPress Install

By Freedom251 Team · · 12 min read

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

Use WordPress Multisite when each domain needs to be a separate website. A domain-based Multisite network lets several hostnames use one WordPress codebase while each site keeps its own pages, media, themes, plugins and settings. WordPress 4.5 and later include native domain mapping, so a mapping plugin is not required for the core operation. You still must point every domain to the server, configure the web server and HTTPS, create the subsites, and test cookies, redirects and rewrites.

If every domain should show exactly the same site, do not create several subsites merely to obtain aliases. Keep one canonical domain and redirect the other hostnames at the web-server layer. That is a different implementation from a Multisite network and should be tested in your hosting stack.

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.

Choose the architecture before changing WordPress

“Multiple domains on one WordPress install” can describe two different outcomes. Decide which one you need before editing wp-config.php or DNS.

Separate websites: use Multisite with domain mapping

Choose a WordPress Multisite network when each domain represents a distinct site. A network shares the WordPress installation and, depending on your configuration, themes and plugins, while each subsite has its own content and site-level settings. For example, example.com, example.net and example.org can each resolve to a different site in one network.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.

The official WordPress documentation states that domain mapping is native in WordPress 4.5 and later. The domain-mapping feature therefore does not require a plugin for its basic mapping operation: WordPress domain mapping documentation.

One identical website: use a canonical domain and redirects

If all hostnames should display the same pages, products and media, use one canonical domain and redirect the aliases to it at the web-server layer. This avoids duplicate site records and gives search engines, browsers and analytics one preferred URL. The Multisite instructions cited here cover separate network sites, not a general alias configuration, so the exact redirect syntax depends on your server and hosting control panel.

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.

Separate single installations: choose isolation instead

Independent WordPress installations can be preferable when sites need separate administrators, update schedules, security boundaries or migration plans. A Multisite network centralizes administration, but moving a network is more complicated than moving one standalone site. Base the decision on who will administer the sites and how independently they must operate; do not choose Multisite only because several domains happen to share a server.

What Multisite shares and what it keeps separate

Multisite stores several sites in one network. Network administrators manage the installation as a whole, while site administrators manage the content and settings allowed for their individual site. Shared code means a plugin or theme update can affect multiple sites, so test updates with the entire network in mind.

  • Shared: the WordPress core files, the network’s available plugins and themes, and network-level administration.
  • Per site: posts, pages, menus, media, widgets, site title, reading settings and the mapped site URL.
  • Operational consequence: a server, database or network-level failure can affect every domain, and a network migration needs more planning than moving one site.

WordPress does not provide a universal “one install, many unrelated domains” switch for ordinary single-site mode. The supported architecture for separate sites is Multisite.

Subdomain or subdirectory network?

When you create the network, WordPress asks whether sites should use subdomains or subdirectories. This choice describes the network’s default URL pattern; you can subsequently map a subsite to its own domain.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Network type Default address DNS and server implications Best fit
Subdomain site1.example.com On-demand sites normally need wildcard DNS so new subdomains reach the installation. Manually created mapped domains can use other server methods. Networks that naturally organize sites under hostnames.
Subdirectory example.com/site1 No wildcard subdomain is needed for the path itself, but the server must still route mapped external domains to the same installation. Networks whose default sites are naturally organized by paths.

The official preparation guidance explains the distinction and the DNS requirement: Prepare your Multisite network. Select the model that matches how you will create future sites, not merely the first custom domain you plan to map.

Prerequisites and a safe preparation checklist

Have control of every domain, DNS zone and hosting entry before starting. You should also be able to edit the WordPress files and restart or reload the web server when your host requires it.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
  • A working WordPress installation with administrator access.
  • Access to the database and all WordPress files for a complete backup.
  • Working pretty permalinks on the existing site.
  • DNS access for every domain and the ability to create the required records.
  • A hosting configuration that can route each hostname to the WordPress installation directory.
  • HTTPS certificates for the primary domain and every mapped domain.
  • A maintenance window for plugin deactivation, configuration changes and testing.

Before network creation, follow the official backup and preparation requirements in Create a Network. Back up both the database and files, verify pretty permalinks, and deactivate active plugins. Keep the backup available until every site has been tested.

Step-by-step: create the Multisite network

1. Back up and record the current configuration

Export a database backup and copy the complete WordPress directory, including wp-content and configuration files. Record the current site URL, PHP and web-server settings, active plugins and permalink structure. If a change must be reversed, these records make restoration faster than guessing which setting changed.

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

2. Enable the Network Setup screen

  1. Open wp-config.php in the WordPress installation directory.
  2. Add this line before the line that says the file is finished editing:
define( 'WP_ALLOW_MULTISITE', true );
  1. Sign in to WordPress and open Tools → Network Setup.
  2. Choose Sub-domains or Sub-directories.
  3. Enter a network title and network administrator email, then submit the form.

WordPress generates installation-specific instructions. Do not substitute a generic block copied from another installation: the generated constants, rewrite rules and file paths depend on your existing URL model and server.

3. Apply the generated configuration

The setup screen supplies code for wp-config.php and rewrite rules for the server. Copy those instructions exactly, placing each block where WordPress specifies. Log out and back in when prompted so the Network Admin menu becomes available.

WordPress can generate Apache and IIS configuration rules, but it cannot generate Nginx configuration. Nginx administrators must implement the Multisite rules manually, as documented in Multisite administration. A syntactically valid single-site configuration is not automatically a valid Multisite configuration; check that requests for uploads, subsites and the login paths are routed correctly.

Route every domain to the same installation

1. Create DNS records

For each domain, create the record that points the hostname to the server’s IP address, or use the equivalent target required by your host. The official preparation guide summarizes the two halves of this task: DNS must map the domain to the server’s IP address, and the server must map the domain to the WordPress installation directory.

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

DNS changes may be cached according to the record’s TTL, so an old result can persist temporarily. Verify each hostname from a DNS tool or command available in your environment before diagnosing WordPress. A domain that still resolves to a previous host cannot reach the network regardless of WordPress settings.

2. Add hostnames in the hosting or web-server configuration

Create a virtual host, add-on domain, server block or equivalent entry for every domain. Set the document root to the same directory that serves the existing WordPress installation. Do not create a second document root containing another copy of WordPress unless you intentionally chose separate installations.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

Host control panels use different labels, but the required result is the same: every hostname must arrive at the network’s front controller and receive the Multisite rewrite rules. Confirm that the server preserves the original Host header; WordPress uses the requested hostname to select the mapped site.

3. Replace the rewrite block

Use the rules generated by Network Setup rather than leaving the original single-site block in place. The rules differ for Apache, IIS and Nginx. On Apache or IIS, apply the generated configuration and reload the service if required. On Nginx, implement the equivalent Multisite routing manually and have an administrator validate the configuration before reloading it.

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

Secure all hostnames with HTTPS

Install a certificate covering the primary domain and each mapped domain. Server Name Indication (SNI) allows a modern TLS server to present the correct certificate for multiple hostnames on one IP address. Every mapped domain should serve HTTPS, including the login and Network Admin paths, because credentials and authentication cookies travel through those requests.

Test both the bare domain and its chosen www or non-www form, then enforce one consistent HTTPS URL with your server redirects. A certificate that covers only the primary domain will produce browser warnings when a visitor opens a mapped subsite.

Create subsites and map their domains

1. Create the site in Network Admin

  1. Sign in as a network administrator.
  2. Open Network Admin → Sites → Add New.
  3. Enter the temporary network address, site title and administrator email.
  4. Create the site, then open it from the Sites list.

The temporary address follows the network model, such as site1.example.com or example.com/site1. It gives WordPress an internal site record before the custom domain is attached.

2. Enter the complete mapped URL

  1. In Network Admin → Sites, select the new site and choose Edit.
  2. On the site settings screen, replace the temporary value in Site Address (URL) with the complete URL, for example https://example.com.
  3. Save the change.
  4. Open the mapped URL in a private browser window and test the homepage, an internal link, the login screen and an administrator page.

The official domain-mapping instructions describe this exact Site Address change: Map a domain in Multisite. Include the scheme (https://) and use the final hostname format you intend to publish.

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

3. Repeat without creating duplicate installations

Create one subsite record per independent domain and point each domain’s server entry to the same installation directory. Do not copy the WordPress files for each hostname unless you have decided that separate single-site installations are the better architecture.

Login cookies and common mapped-domain failures

“Cookies are blocked” or login silently returns to the login page

First confirm that the site URL, HTTPS certificate, browser hostname and server routing all agree. A mismatch between an HTTP URL and an HTTPS request, or between two hostname variants, can prevent the expected authentication cookie from being accepted.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

If the mapped subsite specifically reports blocked cookies or silently fails to log in, the WordPress handbook documents this setting after the network configuration:

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

Apply it only when that documented symptom occurs, place it where the handbook instructs in wp-config.php, and test the result in the target environment. This is not a universal fix for DNS, certificate or rewrite errors.

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

The domain shows the primary site instead of its subsite

  • Confirm the domain’s DNS record points to the intended server.
  • Confirm the hostname has a virtual-host or hosting entry using the WordPress document root.
  • Check that the subsite’s Site Address (URL) exactly matches the requested HTTPS hostname.
  • Clear server, page-cache and browser caches after changing the mapping.
  • Verify that no upstream proxy or redirect sends the hostname to the primary domain before WordPress receives the request.

Permalinks or media return 404 errors

Regenerate or re-save the intended permalink structure after the network rewrite rules are active, then inspect the server’s rewrite configuration. On Nginx, check the manually implemented Multisite rules first; WordPress does not generate them. Also verify that the uploads path is being passed to the same installation rather than to a missing directory.

Redirect loops or mixed-content warnings

Ensure the mapped site, server redirect and certificate all use the same HTTPS hostname. Remove competing HTTP-to-HTTPS or www-to-apex rules, and update hard-coded HTTP asset URLs in the affected site. Test in a private window so an old redirect is not masking the current result.

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

Native mapping or a plugin?

Approach What it provides When to choose it Trade-off
Native WordPress mapping Core domain mapping for WordPress 4.5 and later. Use when the requirement is simply assigning a domain to a Multisite subsite. DNS, server routing, HTTPS and rewrite configuration remain your responsibility.
Domain-mapping plugin Additional workflow or compatibility features supplied by that particular plugin. Consider only when a documented feature is missing from core and the plugin is compatible with your WordPress, PHP and hosting setup. Adds another update, support and failure surface; it is not required for the core mapping operation.

Core support does not eliminate server work. A plugin cannot make an unresolvable DNS record, an absent certificate or an incorrectly routed virtual host work.

How to test before publishing

Test each domain independently rather than assuming that one successful site proves the network is correct.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Resolve the hostname and confirm it reaches the intended server.
  2. Open the HTTPS homepage and check that the certificate matches the hostname.
  3. Follow a pretty permalink, a media URL and a page with a form.
  4. Sign in to the mapped site and open a Network Admin page if your account has permission.
  5. Sign out, clear the browser session, and sign in again to check cookie persistence.
  6. Test the chosen canonical hostname and any alternate www form for a single, intentional redirect.
  7. Inspect page source and browser developer tools for mixed-content requests or redirects to the temporary subsite URL.
  8. Repeat after clearing page-cache and CDN layers, if present.

Keep a written list of each domain, its DNS target, certificate coverage, hosting entry, mapped Site Address and expected redirect. That checklist makes future domain additions repeatable.

Administration, updates and migration considerations

Multisite centralizes network administration. A network administrator can control which themes and plugins are available, while site administrators work within their site’s permissions. Establish an update policy before adding production domains: test a core, theme or plugin update against representative subsites, because shared code can affect all of them.

Plan backups at both the database and file level, and verify that the backup process includes every site in the network. Document DNS records, server entries, certificates, rewrite configuration and the network’s URL model. A future migration must reproduce those dependencies; moving only the files without the database, DNS and server configuration will not recreate the network.

If one site eventually needs an independent server, administrator boundary or release cycle, evaluate a careful extraction to a standalone installation rather than assuming the network can be split with a single export. The official administration guidance discusses the additional complexity of managing and moving a network: Multisite administration guidance.

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

Decision checklist

  • Choose Multisite with native mapping when domains are separate sites that can share one WordPress installation and centralized administration.
  • Choose one canonical site with server redirects when every domain should show identical content.
  • Choose separate installations when security, administration, updates or migration must be isolated.
  • Choose subdomains when hostname-based default site URLs fit your network and you can provide the required DNS behavior.
  • Choose subdirectories when path-based default URLs are simpler for your network, while recognizing that custom mapped domains still need DNS and server entries.
  • Use a plugin only for a specific feature not supplied by core, after checking compatibility and its maintenance requirements.

Frequently Asked Questions

Can several domains use one WordPress installation without Multisite?

Only when the domains are aliases for the same site and you redirect them to one canonical domain at the server layer. Separate domains with separate content require a Multisite network or separate installations.

Is a domain-mapping plugin required in WordPress 4.5 or newer?

No. WordPress 4.5 and later include native domain mapping. A plugin is optional and should be justified by a specific additional feature.

Do I need wildcard DNS for every mapped domain?

Wildcard DNS is normally associated with on-demand subdomain sites in a subdomain network. A manually created mapped domain can use its own DNS record and server entry instead.

Why does WordPress show the wrong site after I change DNS?

The hostname may still point to another server, lack a virtual-host entry, or have a Site Address that does not exactly match the requested HTTPS hostname. Check those layers in that order.

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.

What should an Nginx administrator do for Multisite?

Implement the Multisite rewrite rules manually. WordPress can generate Apache and IIS rules, but it cannot generate Nginx configuration.

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.

DNSDomain MappingHTTPSmultiple domainsweb serverWordPress Multisite

Leave a Reply

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

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

Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair 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.