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:

  1. Go to cPanel > Zone Editor (or your DNS manager).
  2. Click Manage next to your domain.
  3. Click Add Record.
  4. Choose record Type = A.
  5. Enter the Name field as blog. Enter the Value as the target server’s IP.
  6. 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.