The proper way is after pointing the new domain to your hosting account to change the URL references in the Database. So, besides the siteurl & home options you shouldn’t forget upload path at the same table and a complete search & replace for local links and media URLs inside post contents.
There are many ways to do this according to the Codex.
Lately I’ve been using the WordPress Search & Replace tool that can scan all required tables to replace the URLs. ( Always backup the DB first )
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
- Same site answering to two domain names
- How do I switch my WordPress to point to Parked Domain?
- Remove Domain Mapping
- Multiple URLs to one WordPress install
- WordPress mu domain mapping
- Prevent “main” WPMU site_url() being returned in functions
- Mapping Domains to Permalinks (not 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
- How to display a raw HTML page (bypassing WordPress theme, scripts, etc)
- sunrise.php for multi-network install of domain mapping plugin
- 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?
- Localization For Two Different Regions/Domains with the Same Language
- How to add new sites and map a custom domain in WordPress Multisite?
- WordPress multisite with different domain
- Trying to migrate a WordPress Multisite with Domain Mapping
- Multiple blogs, different domain names, one install to rule them all
- How do I use different domain for subdomains in WP Multisite?
- How can i run the same WordPress install on multiple subdomains?
- 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?
- Multiple domains with different child themes on one installation?
- Login cookie across multiple domains on network w/ mapping
- WordPress multisite with multiple parent domains
- WP 4.4 – domain mapping for sites within a multisite network?
- One WP install, I need to map a custom domain name to each category
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- 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
- how do i find out why links point to my old domain
- Multisite domain naming
- WordPress MU Domain Mapping Just Redirects to Main 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]
- WordPress Multisite + Erros with URLS and ADMIN
- 1 WordPress installation with 2 pages: every page gets a separate domain
- 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
- Domain Mapping for WordPress MU and https redirection – How to?
- Multisite domain mapping breaks CSS
- A WordPress site with more than one domain name / Parked domains
- WordPress MU subdomain vhost
- Domain mapping with Multisite links are wrong
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- Multisite – One Site with multiple URLs
- Sub-sub folders of WordPress Multisite subdirectory
- WordPress Multisite with subdomains on different domains
- Domain Mapping subsites of an Add-on Mulsite Domain
- Forward and mask a WordPress website
- VServer/Rootserver/Shared Hosting: Multiple WordPress installations each having their unique domain?
- wordpress multisite domain mapping redirects to original subdomain
- wordpress sub-directory sites on a sub-domain?
- Subdomains pointing to a permalink URL
- WordPress Multisite and how to apply sef urls only to specific sites
- multisite installed on subdomain now want another subsite on subdirectory
- Migrating from domain mapping plugin to native domain mapping
- How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
- How to map domains to specific pages in WordPress and display them in the address bar?
- Domain masking and wordpress
- WordPress Multisite with Wildcard Certificates not mapping correctly
- Login issues on WordPress Multisite and domain mapping
- Multisite has SSL certificate, but media library is still http://
- SSL for Mapped Domains with WordPress Multisite on AWS
- Multisite htaccess with domain rewrites
- WordPress Multi site Map Domains
- new WPMS site not working / Q setting up new site/subdomain
- Optimal setup for Multi Domain WordPress with Woocommerce
- Changing blog domain name
- How to implement this subdirectory mapping in multisite?
- MU domain mapping without using a plugin
- How to configure WordPress for multiple blogs without using multisite?
- Subdirectory and domain multisite installation
- Multisite: Run a subdomain install from a directory install
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- MU Domain mapping
- Some Subdomains on a Multisite Install Not Found
- Serve HTTPS requests from subdomain
- Permalinks not working on MU network with domain mapping
- Is it ok to have one wordpress installation for server.com and www.server.com?
- Generated URLs don’t reflect accurate URLs.
- Deprecating WordPress URL from Google, promoting custom domain [closed]
- how to get my WP site’s IP? [closed]
- Multisite with Static home page mixed with separate domain name