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?
- 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?
- Steps for Moving Multiple WordPress Installs to a Multisite Install?
- 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?
- Infinite loop problem with the WordPress MU Domain Mapping plug-in
- “Preview Changes” button doesn’t show changes for previously published posts/pages
- 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
- Custom domain for sub-section of parent website
- Changing Multisite URL after the subsite has been in use
- W3 Total Cache – How to disable “Performance” menu under multisite? [closed]
- Hide root site in Multisite install
- Setting two top level domains for multisite
- How do I park secure.primary.com on top of the multisite ID:1 domain: www.primary.com (primary multisite domain)
- 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?
- Map alt domain to specific section of website w/o MU
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Child Site doesn’t appear in the Network menu
- Install a Network under a mapped domain
- How to host blog on separate domain from 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
- Viewing / Editing A Multisite website after domain has expired
- WordPress on AWS Auto scaling and ELB giving 503
- How can I use separate domains for single pages?
- 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?
- Canonical Resource URLs Across a Multisite Network 2012?
- Multisite domain mapping breaks CSS
- Does wordpress.com appears in the URL if I buy custom domain service from WP.com
- WordPress MU subdomain vhost
- Domain mapping with Multisite links are wrong
- Changed sub-site to its own domain trigger 302 redirects for all page links
- Install multisite wordpress on a subdomain and map to top level domains
- How can I redirect some pages to new subdomain? [closed]
- Different Domains in Multisite Setup
- How to use the sunrise.php script for Multisite network domain mapping?
- Multisite on single wordpress
- Check if current site ID and value exist in WPDB
- WordPress multisite with domains and subdomains
- Folder wordpress page redirect
- Change WordPress Multisite Domain
- 2 WordPress install with same database
- Folder structure when using multiple domains with WordPress
- Infamous admin login redirect
- How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
- Replace .wordpress.com url with a domain name
- How to replace blog page url with subdomain at all places, even in xml sitemap?
- WP-Cli Error When Mapping Multisite Subdomain
- Change main site / network admin site?
- Subdirectory mapping for a WordPress website
- different domains disabled in polylang
- Serve theme and plugins assets from correct domain on multi-domain multisite
- Domain not redirected correctly with WordPress Multisite
- Add file at the root of mapped domain in multisite
- WordPress Multisite – Domain Mapping
- Multisite different domains mapping error on GGS
- Multisite domain mapping with SSL redirects to main domain
- Remove subdirectory from links
- 2 languages, 3 domains
- Multisite with different domain names
- WordPress Multisite with cPanel Addon Domains and SSL
- Can I use WP’s built in domain mapping with WP installed on a sub-domain?
- Can WP multisite manage multiple ccTLDs
- Multisite hide subdirectory
- Domain mapping breaks some plugin scripts and css
- Hiding all posts/products/pages from a site based on a custom taxonomy/domain name
- Multisite: Run a subdomain install from a directory install
- Multisite redirect loop for a single www domain
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- How to map secure.domain.com to www.domain.com or domain.com with “WordPress MU Domain Mapping” on the primary multisite domain?
- Permalinks not working on MU network with domain mapping
- WordPress.com-registered domains
- Are there any hosting companies that are already setup and configured for TLD domain mapping?
- WordPress Multisite Subsite WP admin not working
- Best Way to Setup a Network of WP Sites?
- Cookies in Multisite network where sites have their own domain name?
- Multisite with Static home page mixed with separate domain name