How to Create and Verify a Website 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
- How to Create a CNAME Record for a Subdomain
- How to Create a Subdomain with a Separate Plesk Document Root
- Domains and DNS category
Official references
Ferkesh Hosting. Last reviewed .
Obrigado pela sua opinião!