If you’re using a web application that serves multiple domains, then it’s easy to install and configure SSL certificates for all of those domains.

First, you need to install and configure your web application, such as WordPress multisite, on your server. You can follow the steps in this article for setting up WordPress multisite: How to Setup WordPress Multisite Network. Make sure you choose the subdomain option for your multisite network, and enable wildcard subdomains on your DNS provider.

Alternatively, if you’re not using a WordPress website, you can still configure the wildcard subdomain from the RunCloud dashboard. Under your application settings, go to the Domain Name tab and click on the options button next to your domain name. In the context menu, you will see an option to enable the wildcard subdomain for this particular application.

Next, you will see a confirmation box asking you to confirm your changes; click on “Enable Wildcard Subdomain” to save your changes. If you’re not using the RunCloud Cloudflare integration, then you will also need to add the DNS records displayed on screen to your DNS registrar’s records.

After you have set up your application, you can add SSL certificates for your main domain and subdomains using either Let’s Encrypt, Custom SSL, or simply using RunCloud’s self signed certificates.

To do this, go to SSL/TLS under your web application and make sure your domain and subdomains are accessible in your browser.

Then select your desired SSL provider for your SSL certificate. In the following example we are using the RunCloud’s self-signed certificate for demonstration purposes.

After you have configured the settings, click on “Deploy SSL” to save the changes.

Wait for a few minutes until the SSL certificate is applied to your web application. You can check the status of your SSL certificate under SSL/TLS. Once it’s done, all the sub-domains on your website will be secure and displayed over HTTPS.