On the surface this is quite trivial, WP discerns domain from current configuration and it can be defined in config file:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
This can easily be done dynamically, depending on current domain being requested from PHP context. As long as domains map to same IP and location on server.
Note that duplicate content is considered universally bad idea for SEO. From that point of view it would be preferable to pick one domain name as canonical and 301 redirect another one to it (which is usually outside/unrelated to WP).
Related Posts:
- Changing site_url domain breaks image links
- Domain mapping the top-level site in wordpress multi
- Display same site from two domains on a multisite install
- changing site domain name. Is this a bad solution?
- How do I switch my WordPress to point to Parked Domain?
- Remove Domain Mapping
- Multiple URLs to one WordPress install
- WordPress mu domain mapping
- How to use WordPress Multisite With Different Domain Names?
- Prevent “main” WPMU site_url() being returned in functions
- Mapping Domains to Permalinks (not multisite)
- Anyone figured out how to use WordPress MultiSite with Domain Mapping & SSL?
- Can a multisite’s blogs be accessible from two different sub-domains?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- Domain mapping (without plugin) in 4.5.x multisite?
- Multisite Domain Mapping with SSL
- How to set up wordpress domain mapping on MAMP Pro
- How to use alias domain for multisite installation?
- WordPress Multisite with multiple domains using Nginx
- Steps for Moving Multiple WordPress Installs to a Multisite Install?
- How to display a raw HTML page (bypassing WordPress theme, scripts, etc)
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Category Archive
- MU domain mapping login issue
- how to use a different domain/subdomain for authors/catagories on single site?
- sunrise.php for multi-network install of domain mapping plugin
- Infinite loop problem with the WordPress MU Domain Mapping plug-in
- Is it still only possible to do multisite domain mapping with a plugin in WordPress 4.1?
- How to manage multiple domain with different languages on each domain with single wordpress installation?
- “Preview Changes” button doesn’t show changes for previously published posts/pages
- Localization For Two Different Regions/Domains with the Same Language
- Serve HTTPS requests from subdomain
- One WordPress Install, Two Categories. Each Category Gets a Domain
- How to let a single post have its own domain name
- How to add new sites and map a custom domain in WordPress Multisite?
- Custom domain for sub-section of parent website
- WordPress multisite with different domain
- Changing Multisite URL after the subsite has been in use
- Trying to migrate a WordPress Multisite with Domain Mapping
- Multiple blogs, different domain names, one install to rule them all
- W3 Total Cache – How to disable “Performance” menu under multisite? [closed]
- Hide root site in Multisite install
- Insights into WordPress Multi-Site, Domain Mapped, and Multilanguage site using WPML [closed]
- How do I use different domain for subdomains in WP Multisite?
- How can i run the same WordPress install on multiple subdomains?
- Setting two top level domains for multisite
- subdomain mulitsite on localhost in a subfolder
- WordPress Network for regional company websites
- How to do Domain Mapping to Subdirectories?
- Possible to create a multisite network where the main site is non-WP?
- How do I park secure.primary.com on top of the multisite ID:1 domain: www.primary.com (primary multisite domain)
- Multiple domains with different child themes on one installation?
- Login cookie across multiple domains on network w/ mapping
- WordPress MU Domain Mapping Customizer Error
- Changing admin sub-domain in WordPress multisite
- Why are images uploaded to main domain, when using multisite with different domains?
- WordPress multisite with multiple parent domains
- Map alt domain to specific section of website w/o MU
- WP 4.4 – domain mapping for sites within a multisite network?
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- One WP install, I need to map a custom domain name to each category
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Child Site doesn’t appear in the Network menu
- Accessing WordPress installation in its own directory at domain root
- Create rewriterules for different domains in htaccess file with WP multisite
- How do I make my particular WordPress public?
- Multiple sites/domains with content all managed by single installation of WordPress
- Install a Network under a mapped domain
- how do i find out why links point to my old domain
- Multisite domain naming
- How to host blog on separate domain from main site
- WordPress MU Domain Mapping Just Redirects to Main Site
- Changing domain
- Migrating wordpress multisite and domain mapping plugin
- Can I have the same wordpress site under different url?
- Need help with simple rewrite rule (shouldn’t this be easy?)
- WordPress Multisite domain mapping with different IPs
- WordPress Multisite Strange Redirect on Primary Site
- WordPress Multisite with Addon Domains (not parked domain) [closed]
- Mapping domains to WordPress network installed on subdomain
- One WordPress Installation for 2 Domains
- WordPress 4.5+ Multisite Domain Mapping
- Link structure, WordPress IIS
- Multisite – Parent site with Polylang with different domains for each language [closed]
- Multiple domains showing same content
- Viewing / Editing A Multisite website after domain has expired
- WordPress Multisite + Erros with URLS and ADMIN
- WordPress on AWS Auto scaling and ELB giving 503
- How can I use separate domains for single pages?
- 1 WordPress installation with 2 pages: every page gets a separate domain
- Need ideas for HTTPS multiple domain solution
- Login problems on multisite installation with different domains
- Is this a job for WP MultiSite with domain mapping plugin?
- Installed WordPress Location
- MU/Subdomains + Domain Mapping + SSL?
- network site domain mapping still applied after being removed
- How to set up wordpress domain mapping on MAMP Pro
- Domain Mapping for WordPress MU and https redirection – How to?
- Canonical Resource URLs Across a Multisite Network 2012?
- Multisite domain mapping breaks CSS