# How to Create and Verify a Website Subdomain

https://ferkesh.net/uk/baza-znan/stattia/create-and-verify-subdomain

![Diagram linking Choose hostname, Map hosting, Publish DNS and Verify HTTPS.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-04.svg#create-and-verify-subdomain)

Creating a subdomain for a website usually takes two steps. The host must accept the name and serve the correct site, then the authoritative DNS zone must point the name at the host. For a name such as docs.example.com, ask the host what record it expects and which certificate setup it supports.

## Set up the destination first

Create or attach the hostname in the hosting platform. Verify the site files or service assigned to it. If it is a staging environment, configure access protection before making the new address public. Note whether the host supplies an IP address or a target hostname.

## Add the record where the zone is active

In the authoritative DNS editor, enter the correct owner label. Use an A or AAAA record for the corresponding address family or a CNAME when the provider supplies a hostname. Avoid leaving incompatible records at the same name. Confirm the final DNS answer independently of the hosting panel.

## Verify the complete path

Open the exact HTTPS address. Confirm that it shows the intended content and a certificate valid for that name. If a default site appears, check hosting assignment. If the name does not resolve, compare authoritative answers and recursive caches before repeatedly changing settings.

## Related guides

- [How to Set A and AAAA Records Safely](https://ferkesh.net/knowledgebase/article/configure-a-aaaa-records)
- [How to Create a CNAME Record for a Subdomain](https://ferkesh.net/knowledgebase/article/create-cname-record)
- [How to Create a Subdomain with a Separate Plesk Document Root](https://ferkesh.net/knowledgebase/article/plesk-create-subdomain)
- [Domains and DNS category](https://ferkesh.net/knowledgebase/category/domains-and-dns)

## Official references

- [Cloudflare subdomain records](https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-subdomain/)
- [Cloudflare DNS record types](https://developers.cloudflare.com/dns/manage-dns-records/reference/dns-record-types/)

Ferkesh Hosting. Last reviewed November 26, 2026.
