Creating a subdomain works exactly like creating a normal site — there's nothing special to it. A subdomain such as app.example.com is simply another site in Ploi.
Steps
- On your server, create a new site and enter the full subdomain (for example
app.example.com) as the domain. - At your DNS provider, add an A record for the subdomain pointing to your server's IP address. If your DNS is connected to Ploi, this record can be created for you automatically.
- Deploy your site and, if you want HTTPS, request an SSL certificate just like you would for any other site.
That's it — the subdomain is now served as its own site.
