Any alias or redirect can become the primary domain. The old primary becomes an alias, so nothing stops working.
- Add the new domain and point DNS
If it is not there yet.
- Make it primary
Domains & SSL, on the domain choose make primary.
- Update the store's own URLsMagento: Stores, Configuration, General, Web, Base URLs (or
bin/magento setup:store-config:set --base-url). WordPress: Settings, General, WordPress Address and Site Address. - Flush caches
Actions, Flush all caches.
- Redirect the old domain
Set the old domain as a redirect so links and rankings follow.
Did this solve it? If not, tell us what you see and we look at your server.
Open a ticket