How to Create a Subdomain (blog.yourdomain.com, shop.yourdomain.com) and Point It Somewhere
Subdomains let you run a blog, shop or app separately. Create the DNS record and the matching site on the host.
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.
A subdomain is a prefix on your domain, such as blog.yourdomain.com.
Case 1: Subdomain on your own hosting
Create it in your hosting panel's Subdomains section and choose its folder. If the domain's DNS is at the same host, the record is added for you.
Case 2: Subdomain pointing to another service
Add a record in your DNS:
- A CNAME with the name
blogpointing to the hostname the service gives you, or - An A record with the name
blogpointing to the IP address the service gives you.
Type only blog as the name. Typing the full domain can create blog.yourdomain.com.yourdomain.com. See our DNS record guide.
Add the site on the other end
The service must also be told about the subdomain, in its domain settings, or it will not answer.
SSL
Create a certificate for the subdomain, or use a wildcard. See our SSL guide.
Test
Allow time for DNS, then open it in a private window. See our DNS guide.
Free tool for this problem: DNS and Domain Checker
Related guides
- What Is an SSL Certificate Authority and Chain of Trust
- What Is a Domain Registrar vs Web Host vs DNS Host
- What Does 'Not Secure' Mean in the Browser?
- Too Many Redirects With Cloudflare: Flexible SSL Loop Fix
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.