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 listing by clicking on Apps.
- Next, access the app details by clicking on the settings icon to the right of your app's name.
- Once inside your app's details page, navigate to the Domains tab.
- Next, expand the domain that you want to mark as primary.
- Finally, click on the Promote to Primary button to promote this domain to the primary domain for your app.
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.