Best for · Web hosting
How to create a subdomain in Namecheap: the two ways, and which one you need
- Last checked
- 4 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Pick the type (A record to point at an IP address, CNAME to point at another hostname, URL Redirect to forward it), type only the subdomain part (for example blog, not blog.yourdomain.com) in Host, add the value, and click Save All Changes.
Compared here
- 01Advanced DNS host record
- 02cPanel subdomain (Namecheap hosting)
- 03URL redirect record
- 04NS record to delegate
Short answer
To create a subdomain in Namecheap, go to Domain List, click Manage next to the domain, open the Advanced DNS tab, and under Host Records click Add New Record. Pick the type (A record to point at an IP address, CNAME to point at another hostname, URL Redirect to forward it), type only the subdomain part (for example blog, not blog.yourdomain.com) in Host, add the value, and click Save All Changes. Namecheap says new records normally take about 30 minutes to work. This works when the domain uses Namecheap BasicDNS, PremiumDNS or FreeDNS.
If your domain points to Namecheap web hosting instead, create the subdomain in cPanel: Domains, Domains, Create A New Domain. Namecheap says it should be live in 5 to 10 minutes. Up to 800 subdomains per domain, each up to 60 characters. Below: which method you are on, each record type with examples, the cPanel steps, and fixes when it does not load.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Your situation | Where to create it | Record or setting | Time to work (Namecheap) |
|---|---|---|---|
| Subdomain points to a server IP | Advanced DNS | A Record: Host = subdomain, Value = IP | About 30 minutes |
| Subdomain points to a service (store, help desk, site builder) | Advanced DNS | CNAME Record: Host = subdomain, Value = hostname the service gives you | About 30 minutes |
| Subdomain should forward to another URL | Advanced DNS | URL Redirect Record: Unmasked, Masked or Permanent (301) | About 30 minutes |
| Subdomain run by another DNS provider | Advanced DNS | NS Record: Host = subdomain, Value = that provider's name server | About 30 minutes |
| Site on Namecheap shared hosting | cPanel, Domains, Create A New Domain | Own folder by unticking Share document root | 5 to 10 minutes; up to 30 to 40 worldwide |
| Domain on PremiumDNS, site on Namecheap hosting | cPanel AND Advanced DNS | Create in cPanel, then add the A record in your Namecheap account | As above |
| Limits | Per domain | Up to 800 subdomains (www counts), 60 characters each | n/a |
Money talk first. Namecheap runs an affiliate program (20% on domains, per our research notes), and the Namecheap link on this page goes through vectaai.com/go/. Creating a subdomain is free, so nothing here asks you to buy anything.
The steps come from Namecheap's own knowledgebase, read on 3 December 2026. We did not set up a test domain for this page. Namecheap moves buttons around now and then; if a label looks slightly different, look for the nearest match.
First: which of the two methods are you on?
This is where most people go wrong, so take ten seconds.
Open your Domain List, click Manage next to the domain, and look at the Nameservers setting on the Domain tab.
- It says Namecheap BasicDNS, PremiumDNS or FreeDNS (or similar Namecheap DNS): use Method 1, Advanced DNS.
- It says Namecheap Web Hosting DNS, because your site is on Namecheap shared hosting: use Method 2, cPanel.
- It lists someone else's name servers (Cloudflare, your host): create the subdomain at that provider, not at Namecheap. Changes in Namecheap's Advanced DNS will do nothing while another provider runs your DNS.
Namecheap's subdomain article says the Advanced DNS method applies to "domains that are using our BasicDNS, PremiumDNS or FreeDNS," and that if the domain points to Namecheap Web Hosting DNS, you create subdomains in cPanel instead.
Method 1: create the subdomain in Advanced DNS
- Sign in, go to Domain List, click Manage next to the domain.
- Open the Advanced DNS tab.
- In Host Records, click Add New Record.
- Choose the record type (see below).
- In Host, type only the subdomain part, like
blogorshop. - Fill in the value.
- Click Save All Changes.
Namecheap says new records normally take about 30 minutes to work.
Which record type to pick
A Record: when you have an IP address. Your developer or host says "point it to 203.0.113.10". Type A Record, Host app, Value the IP. Use this for a VPS, a cloud server or a host that gives you an IP.
CNAME Record: when a service gives you a hostname. Most online tools work this way: a store builder, a help desk, a landing page tool, an email marketing tool's tracking domain. They tell you something like "create a CNAME for shop pointing to shops.example-platform.com". Type CNAME Record, Host shop, Value the hostname they gave you. Copy it exactly; a missing letter is enough to break it.
ALIAS Record: CNAME-like, but can sit next to other records. Namecheap lists it as pointing a host to a destination hostname. Most people do not need it for a subdomain; use it when a service specifically asks.
URL Redirect Record: when the subdomain should just forward somewhere. For example, go.yourdomain.com forwarding to a long booking link. Namecheap offers three types:
- Unmasked: the visitor sees the destination address.
- Masked: the visitor keeps seeing your subdomain in the address bar while the other page loads in a frame. Looks neat, often breaks on modern sites and is weak for search engines.
- Permanent (301): the proper "this moved for good" redirect. Our pick for anything that should keep its search value.
NS Record: when another DNS provider should run just this subdomain. Some services ask you to delegate a subdomain to their name servers. Type NS Record, Host the subdomain, Value one of their name servers, and repeat for each one they give you.
The Host field mistake
Namecheap's article spells it out: "you only need to enter 'subdomain' as Value, not the entire 'subdomain.domain.tld'." The domain is added for you. Type shop.yourdomain.com in Host and you get shop.yourdomain.com.yourdomain.com, which nobody will ever find. If a subdomain "just does not work", check this first.
Method 2: create the subdomain in cPanel (Namecheap hosting)
If your site is on Namecheap shared hosting and the domain uses the hosting DNS, Namecheap's cPanel subdomain article gives these steps:
- Log in to cPanel.
- Go to the Domains section, then the Domains menu.
- Click Create A New Domain.
- Type the subdomain in the Domain box, like
blog.yourdomain.com. - To give it its own folder, untick Share document root (/home/username/public_html) with "domain.tld", and enter the folder you want for its files.
- Click Submit.
Namecheap says it "should be available online within 5-10 minutes," with up to 30 to 40 minutes for worldwide propagation.
Why untick the shared document root? If you leave it shared, the subdomain shows exactly the same files as your main site. That is rarely what you want for a blog, a shop or a staging copy.
PremiumDNS plus Namecheap hosting: do both
If you pay for PremiumDNS but host the site on Namecheap hosting, there is one extra step. Namecheap's PremiumDNS and hosting article says that if you create subdomains, "the A records for these subdomains should be created in the Namecheap account as well. Otherwise, the subdomains will not work."
So: create the subdomain in cPanel, then add an A Record in Advanced DNS with the same Host and your hosting server's IP. To find that IP, the article points you to cPanel, Domains, Zone Editor, Manage next to your domain; the A record for @ shows the server's IP.
Limits worth knowing
From Namecheap's article:
- Up to 800 subdomains per domain name, and www counts as one.
- Each subdomain up to 60 characters long.
If you want every possible subdomain (anything.yourdomain.com) to go to one place, a wildcard is the tool. Namecheap has a separate wildcard subdomain guide for cPanel, which needs an A record for *.yourdomain.tld pointing to the server IP.
Common jobs, and the record to use
| Job | Record | Host | Value |
|---|---|---|---|
| Blog on your Namecheap hosting | cPanel subdomain | blog | Its own folder |
| Shop on an online store platform | CNAME | shop | Hostname from the platform |
| App on your own server | A | app | Server IP |
| Short link to a booking page | URL Redirect (301) | book | Full booking URL |
| Subdomain run by another DNS host | NS | that subdomain | Their name servers |
When the subdomain does not load
- Wait the full time. Thirty minutes for DNS records, up to 40 for cPanel, per Namecheap.
- Check the Host field. Only the subdomain word, no full domain.
- Check you edited the right DNS. If the domain uses Cloudflare or your host's name servers, Namecheap's Advanced DNS is ignored.
- Check for a conflicting record. A CNAME cannot share a name with another record type. Delete the old one first.
- Did you click Save All Changes? It happens to everyone once.
- HTTPS errors? The DNS works, but the server or service has no certificate for the new name yet. Ask your host or the service to issue one for the subdomain.
- Clear your own cache. Try your phone on mobile data; it uses a different DNS resolver.
Subdomain or a new domain?
A subdomain is free and fine for a blog, help center, shop or staging site. A separate domain costs money every year but stands on its own brand. If you are leaning that way, our domain name finder checks ideas quickly, and Namecheap vs Cloudflare compares renewal prices. Hosting on Namecheap already? Our Namecheap hosting plans page says what Stellar, Plus and Business include. More guides live on the web hosting hub.
Questions people ask
How do I add a subdomain in Namecheap?
Domain List, Manage next to your domain, Advanced DNS tab, Host Records, Add New Record. Choose A Record for an IP address or CNAME Record for another hostname, put only the subdomain word in Host, fill in the value and click Save All Changes. Namecheap says it normally takes about 30 minutes to start working.
Should I create a subdomain in cPanel or in Advanced DNS?
It depends on where your DNS lives. If your domain uses Namecheap BasicDNS, PremiumDNS or FreeDNS, use Advanced DNS. If it points to Namecheap web hosting's DNS, Namecheap says create the subdomain in cPanel instead. If you use PremiumDNS with Namecheap hosting, do both: create it in cPanel, then add its A record in your account.
How long does a Namecheap subdomain take to work?
Namecheap says new host records normally take about 30 minutes. A subdomain created in cPanel on Namecheap hosting should be online within 5 to 10 minutes, with up to 30 to 40 minutes for full worldwide propagation. If it still fails after an hour, check the Host field for a typo or a doubled domain name.
What do I put in the Host field for a subdomain?
Only the subdomain part. For shop.yourdomain.com, type shop. Namecheap's article warns that you only need to enter 'subdomain', not the entire subdomain.domain.tld, because the domain is added automatically. Typing the full name creates something like shop.yourdomain.com.yourdomain.com, which is a classic reason a subdomain never loads.
How many subdomains can I create on Namecheap?
Up to 800 subdomains per domain name, and the www subdomain counts toward that, according to Namecheap's knowledgebase. Each subdomain can be up to 60 characters long. That is plenty for almost any site; if you need more, a wildcard record pointing all subdomains to one place may be the better tool.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Namecheap: How to create a subdomain for my domain, checked 3 Dec 2026
- Namecheap: How to create a subdomain in cPanel, checked 3 Dec 2026
- Namecheap: How to use the PremiumDNS and Hosting services simultaneously, checked 3 Dec 2026
- Namecheap: How to create a wildcard subdomain in cPanel, checked 3 Dec 2026