Point a subdomain to another service
Updated 27 Nov 2026
A subdomain is the part before your domain, like shop.yourdomain.co.tz or book.yourdomain.co.tz. You can point each one to a different service while your main website and email stay where they are.
Common uses
shop.yourdomain.co.tzfor an online storebook.yourdomain.co.tzfor a booking or appointments systemhelp.yourdomain.co.tzfor a help deskgive.yourdomain.co.tzfor a church or charity giving pageapp.yourdomain.co.tzfor your own app on a Cloud VPS
Which record to use
- CNAME when the service gives you a name, like
stores.example-service.com. This is the most common. - A when the service gives you an IPv4 address, like
102.214.10.25. Use this for your own server.
1. Get the value from the service
In the other service, look for a setting called custom domain, connect domain or similar. Enter the full subdomain, for example shop.yourdomain.co.tz. The service tells you what to point it to.
2. Add the record
- In the portal, open Domains and choose the domain.
- Go to DNS records and press Add a record.
- Choose CNAME as the Type.
- In Name, type only the subdomain part:
shop. Don't type the wholeshop.yourdomain.co.tz. - In Points to, paste the value the service gave you.
- Press Add record.
The result looks like this:
| Name | Type | Value |
|---|---|---|
| shop | CNAME | stores.example-service.com |
For your own server, use an A record instead:
| Name | Type | Value |
|---|---|---|
| app | A | 102.214.10.25 |
A name can have a CNAME or other records, not both. If
shopalready has an A or TXT record, remove it before adding the CNAME. This is also why you can't put a CNAME on@(the main domain): it already has other records.
3. Finish on the service
Go back to the service and press its Verify button. Many services then issue a free SSL certificate for the subdomain. This can take from a few minutes to a few hours.
Test it by opening https://shop.yourdomain.co.tz in your browser.
Tips
- Some services want a second record, often a TXT record with a long code, to prove you own the domain. Add it as a separate record.
- Subdomains don't affect email. Mail for you@yourdomain.co.tz uses the MX records on
@, which you don't change here. - Nothing happens after an hour? Check the Name has no extra text and the value has no spaces. Then see Why your domain changes aren't showing yet (DNS propagation).
- Your own server needs to answer for the name too. On a Cloud VPS, add the subdomain to your Nginx or Apache settings and get a certificate for it. See Install a free SSL certificate with Certbot on Nginx or Apache.
Looking for a name? Search for a domain: .tz, .co.tz, .com and more, paid with mobile money. Questions? Open a ticket.