Guides › Hosting, domain & email › Domain, DNS & SSL

Add a Subdomain: DNS Record and Hosting Setup Steps

A subdomain needs a DNS record and a place to serve it.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Domain, DNS and SSL

A subdomain such as blog.example.com needs two things: a DNS record that points the name to a server, and the server being set up to answer for that name.

1Decide where it will point2Create the subdomain in the hosting panel3Add the DNS record4Install SSL for it5Upload or install the site6Wait and test7Keep search engines in mindFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Decide where it will point

Illustration for Step 1: Decide where it will point

If it is on the same hosting, create the subdomain in your hosting panel. If it is a different service (a shop, a help desk), use the target they give you.

Step 2: Create the subdomain in the hosting panel

Illustration for Step 2: Create the subdomain in the hosting panel

In cPanel open Domains or Subdomains, enter the name and choose the folder where its files will live.

Step 3: Add the DNS record

Illustration for Step 3: Add the DNS record

If your DNS is at the host, the record is created automatically. If DNS is elsewhere, add an A record (to an IP) or a CNAME (to a service name) for the subdomain name only, such as blog.

Step 4: Install SSL for it

Illustration for Step 4: Install SSL for it

Run AutoSSL or issue a certificate that covers the subdomain.

Step 5: Upload or install the site

Illustration for Step 5: Upload or install the site

Put the files in the subdomain's folder, or install WordPress there.

Step 6: Wait and test

Illustration for Step 6: Wait and test

DNS changes can take time. Test in a private window.

Step 7: Keep search engines in mind

Illustration for Step 7: Keep search engines in mind

If it is a test site, block indexing.

Still stuck?

If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.