A subdomain is an additional hostname created under your primary domain. It allows you to organize different websites, applications, services, or sections under the same domain name.
For example, if your primary domain is example.com, you could use:
-
shop.example.comfor an online store. -
blog.example.comfor a blog. -
app.example.comfor a web application. -
support.example.comfor a support portal.
Subdomains are commonly used by businesses, developers, and agencies to organize digital services without registering a separate domain for every project.
How Does a Subdomain Work?
A subdomain is part of your domain's DNS structure. It can be directed to the same hosting service as your primary domain or to a different destination.
Creating a subdomain does not automatically create a website or application. You must also configure the hosting destination, website files, application, or other service that will respond to requests for that hostname.
Before Creating a Subdomain
Make sure you have:
-
An active primary domain.
-
Access to the DNS service responsible for your domain.
-
A hosting service or other destination for the subdomain.
-
The correct DNS information for that destination.
If you are connecting a new domain to hosting, first review How to Connect a Domain to Your WebDaddy Pro Hosting. Replace this placeholder with the permanent Knowledgebase URL after publishing that article.
Step 1: Choose Your Subdomain Name
Decide what the subdomain will be used for and choose a clear hostname.
For example:
-
store.example.com -
portal.example.com -
app.example.com -
client.example.com
Keep names short, descriptive, and easy to communicate. Avoid creating multiple subdomains with confusing or overlapping purposes.
Step 2: Create the DNS Record
The DNS record depends on where the subdomain should point.
Common configurations include:
A Record
Use an A record when the subdomain needs to point directly to an IPv4 address.
For example, app.example.com can point to the IPv4 address supplied by the hosting or application provider.
AAAA Record
Use an AAAA record when the destination provides an IPv6 address.
CNAME Record
Use a CNAME record when the subdomain should point to another hostname, as supported by the destination service.
For example, a service provider may instruct you to point portal.example.com to a designated hostname.
Always use the exact DNS values provided by the destination service.
Step 3: Configure the Hosting Destination
After creating the DNS record, configure the hosting or application service to recognize the new hostname.
Depending on the service, this may involve:
-
Adding the subdomain to the hosting account.
-
Assigning a website directory.
-
Configuring the application to respond to the hostname.
-
Setting up a separate website or service.
-
Configuring SSL for the subdomain.
DNS alone does not create the website directory, publish application files, or configure the application.
Step 4: Configure SSL
If visitors will access the subdomain over HTTPS, make sure an appropriate SSL certificate covers that hostname.
Do not assume that a certificate for the primary domain automatically covers every subdomain. Certificate coverage depends on the certificate's names and configuration.
Step 5: Test the Subdomain
After DNS and hosting configuration are complete:
-
Open the subdomain in a browser.
-
Confirm that it reaches the intended destination.
-
Check that the correct website or application appears.
-
Test the HTTPS connection if SSL has been configured.
-
Verify that the primary domain and other existing subdomains still work.
If the subdomain does not resolve immediately, allow time for DNS changes to become visible.
Subdomains and Separate Domains Are Different
A subdomain uses the primary domain as part of its name. A separate domain is an independent registration.
For example:
-
app.example.comis a subdomain. -
exampleapp.comis a separate domain.
Choose the structure that best fits your branding, application architecture, and service requirements.
Need Help Setting Up a Subdomain?
If you are unsure which DNS record or hosting configuration is required, contact WebDaddy Pro Support.
Include the primary domain, the subdomain you want to create, and the destination service. Do not include passwords, API keys, or other private credentials.