I wanted a simple way to push WordPress to Heroku. It doesn’t get much simpler than this
In regards to using your own custom domain name, the tutorial recommends using A records with a set of defined IP addresses. Instead, I think the better approach is to use a CNAME record pointing to your Heroku App’s location. You can find Heroku’s recommendation here:
Additionally, the tutorial doesn’t mention how to change the domain name within WordPress. To change the domain in wordpress, just do the following:
- Login to your WordPress Administrator’s Control Panel
- Goto: Main Left Menu -> Settings -> General
- Change the WordPress Address
- Change the Site Address
This will take care of the domain name switch. Just remember to add a CNAME record to your domain’s DNS before completing this step.