After you've already created a WordPress app on Pagely, you might need to change your domain to something else. This is most common when switching an app from being a staging environment over to becoming a production environment.
Changing the Domain on an Existing Site
If you're changing a domain on an existing site that's not already being used, you'll need to follow these steps:
- First, ensure that the domain is pointed to your Pagely app.
- Next, add the domain as an alias on the site from within Atomic. For more information, take a look at our article on adding domain aliases.
- From within Atomic, access your app by clicking on Apps, then on the settings icon to the right of your app's name.
- If you scroll down to the App Info tab, you'll see a listing of domains. To promote an alias to the primary domain, click on the Mark Primary icon next to the alias.
You've now changed the primary domain on your WordPress app. Please also note that when changing the primary domain, you may also want to perform a search and replace on your database to update any references to the old domain.
Moving Domain Aliases Between Sites
To move a domain alias from one site to another, take a look at our article on moving domains between apps.
After the domain is moved, if you want to promote it to the primary domain, simply follow the previous steps within this article.