---
title: "How do I create a subdomain?"
url: "https://ploi.io/documentation/domains/how-do-i-create-a-subdomain"
published: "2022-05-09"
last_updated: "2026-06-15"
---

# How do I create a subdomain?

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
-----

1. On your server, create a new site and enter the full subdomain (for example `app.example.com`) as the domain.
2. 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.
3. 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.

![Creating a subdomain as a site](https://ploi.io/storage/HioxfPZsi02phjo2g9bFrmrd8GEhb8CuoqsMqkoz.png)