Please check out our holiday schedule for support availability

Can I/How do I switch the domain on a Pagely site already running?

Last Updated -


Switching aliases on an existing site

You'll first need to point the new domain name to Pagely. (How do I point traffic to Pagely? DNS / CNAME)

Login to atomic-beta.pagely.com. go to Apps, select the "settings" gear icon, scroll down and click "add domain."add-alias.gifClick on the Mark Primary button to promote the alias.promote-alias.gifThis action will trigger a URL update and update at the CDN end point so it's important this is done.

If you have access to an ssh user, you may want to ensure that all aliases properly updated. Sometimes caching might have to be cleared, or redirect rules modified. As we will mention below... if you'd like to find/replace URLs on the site, you can use the following plugin: https://wordpress.org/plugins/better-search-replace/

Switching aliases between two apps

This situation is applicable if you develop your site on a staging site (ex. staging.example-site.com) and wish to have it used as your production site.
 
NOTE: If you switch aliases between a staging/dev site and production site and use PressDNS, you must ensure you re-create the DNS zone on the production site.
 
Ideally, you'd want to do the following steps:
  1. Change example-site.com to something like old.example-site.com
  2. Remove the aliases from the newly renamed old.example-site.com
  3. You need to be sure you add the production domain's aliases so you'll want to add the aliases (example-site.com, www.example-site.com) to the staging/devlopment app.
  4. Change the primary domain to example-site.com
Switching the alias via atomic will also trigger an update at the CDN end point. If you'd like to find/replace URLs on the site, you can use the following plugin: https://wordpress.org/plugins/better-search-replace/
 

Related Topics

Pagely is the Managed WordPress Hosting Platform designed to exceed the needs of media, business, and Enterprise customers alike. We help the world's biggest brands scale WordPress.

Copyright © 2006-2017 Pagely, Inc. All rights reserved.
Pagely® and WordPress® are registered trademarks.

Pagely
Powered by Zendesk