WordPress is an open source publishing platform that powers 34% of the web, from hobby blogs to the biggest online news sites. It has a robust themes and plugins ecosystem and a worldwide community that continues to work towards making it one of the most flexible options for online publishing.
This guide shows how to deploy a WordPress instance on Render in just a few minutes. It uses MySQL 8 and a Render disk for fast persistent storage for all your files. Render manages SSL and custom domains for you, and you can easily add additional security and backups using the official Jetpack plugin.
- Set up a MySQL 8 instance on Render and make a note of the connection details. Make sure to select the
masterbranch when you create your database. The database should be up in a few minutes. Wait for it to go live before moving to the next step.
- Fork render-examples/wordpress on GitHub or click ‘Use this template’.
- Create a new Web Service on Render and give Render permission to access your new repo. Make sure the
Environmentis set to
Dockerand pick a name for your service.
Add the following environment variables under Advanced:
MySQL hostname from above (e.g.
MySQL database name
MySQL database user
MySQL database password
Add a Disk under Advanced with the following values:
10 GBFeel free to change this to suit your needs.
That’s it! Save your web service to bring up WordPress. It will take a couple of minutes to start, but future deploys will be much faster.
Your WordPress instance will be available on your
.onrender.com URL as soon as the deploy is live.
You can then configure WordPress by going to
https://your-subdomain.onrender.com and start creating content for your new site!
Render makes it easy to add a custom domain to your WordPress site, with free and fully managed SSL. Follow the Render custom domains guide to add a domain to your site.
If you add a custom domain, make sure to add the primary domain under the General Settings tab in your WordPress Admin Panel.
Use your WordPress admin dashboard to install plugins. As a starting point, we recommend the following plugins:
- Jetpack for added security and performance.
- Akismet Anti-Spam to manage comment spam.
- Yoast SEO for optimizing your site for search engines.