Domain aliases allow your WordPress site to respond to requests from multiple domains. For example, if you have your app configured to use example.com as the primary domain but also want www.example.com (or even a completely different domain like pagelyexample.com) to go to that same app, you would add these secondary domains as aliases.
To add a new domain alias to one of your Pagely-hosted WordPress apps, follow these steps:
- Begin by logging into the Atomic control panel.
- Once logged in, click on the Apps within the menu to the left.
- You should now see a list of each app on your Pagely account. Locate the one that you want to add a domain alias to and click on the Settings icon to the right of the app's name.
- From inside your app's details page, click on the Domains tab to access the Domains section.
- To add a new domain, click on the Add Domain button at the top-right of the section.
- Finally, fill in the field with the domain that you want to add, then click the Add button to submit the change.
Congratulations! You've now added a new domain alias to your app! Please keep in mind that if you've recently made changes to your domain, you may need to wait a little while for DNS propagation to take place.
Changing Primary Domains
You can easily change your primary domain for a site that's already running. For more information, please see our article on changing your primary domain.
Please note that if you are changing a domain on the site, you may also need to perform a search and replace on your database.
Also note that if you are switching aliases between production and staging sites that are using PressDNS, you will need to be sure that you've re-created the DNS zone on the production site.
If you're running a multisite WordPress app, you'll need to be sure to add an alias for each additional domain that will need to resolve to the app.
If you're using subdomains, we recommend using a wildcard alias for the domain (*.example.com).