How to Set Up a Subdomain DNS Record
Summary:
Point a subdomain like blog.yourdomain.com
to another server or service.
To point a subdomain to a server IP:
- Go to cPanel > Zone Editor (or your DNS manager).
- Click Manage next to your domain.
- Click Add Record.
- Choose record Type = A.
- Enter the Name field as
blog
. Enter the Value as the target server’s IP. - Click Save Record.
If the subdomain needs to point to another hostname instead of an IP, use a CNAME record instead:
- Choose Type = CNAME.
- Name:
blog
- Value:
otherserver.example.com
- Save.
Allow up to 48 hours for DNS propagation.