Installing WordPress
For Docker, the process of installing WordPress is similar to regular servers. We have covered this process in great detail in how to install WordPress, but here is a quick refresher.
On the RunCloud dashboard, click on “Create a New Application” to start the installation process. On the next screen, make sure you have selected the WordPress option. You can configure the settings if you like, or just use the default values.
In the WordPress section, provide a title for your site, configure the login credentials and the admin email.
Next, you will need to specify whether you want to use a subdomain or a sub-directory for your WordPress multi-site network. Pick the option you want, and then continue with the installation.
After this, you can configure other settings such as backup, domain names, tech stack – or just leave them to default; you can always change these settings later.
Finally, you can deploy the application and start using your WordPress site.
Configuring Nginx
If you have opted to use a sub-directory based Multisite installation on Docker servers, you will need to make an additional configuration change before you can start using your website. This step is not required if you are using subdomain based multi-site network.
After deploying the application, click on “NGINX Config” in the left sub-menu to open the Nginx configuration panel. Here you can see all of the existing settings, and add new ones.
Click on the “Add New Config” button to create a new entry.
On the next screen, click on the predefined config drop-down menu and select the “WordPress – Multisite Subdirectory” option. This will auto-fill all of the fields with the necessary values. Do not change any value – just click “Save Config“.
After saving the configuration, you will get a success message, and will be able to see this config in the menu. Once the config has been deployed, you can start using your sub-sites in the WordPress network.