How do I create a subdomain for my domain?

It is not always necessary to register a new domain name when the one you already own works perfectly fine.

Rather than registering a new domain name, you can always create a subdomain using a domain you already own, for example blog.domain.tld or forum.domain.tld (assuming you already hold domain.tld). You can also add multiple levels of subdomains, for instance info.blog.domain.tld.

Subdomains are extensions of your domain name that you can forward to URLs or point to IP addresses instead of purchasing additional domains. Usually, they are used for segmentation or verification of different services associated with a domain name.

NOTE: If your domain is pointed to Namecheap Web Hosting DNS, you should create subdomains in cPanel following the "How to create a subdomain in cPanel" article.

It is possible to set up a subdomain from Namecheap's side for domains that are using our BasicDNS, BackupDNS (a legacy option), PremiumDNS or FreeDNS.

You can add up to 150 (on BasicDNS, PremiumDNS and FreeDNS) and 100 (on BackupDNS) subdomains (including www) per a domain name. Each subdomain can be up to 60 characters long.

When you create a subdomain, you will be asked to choose the name of the subdomain and the location it should be pointed/forwarded to.


To create a subdomain, please do the following:

1. Go to your Domain List and click Manage next to the domain:





2. Select the Advanced DNS tab:





3. Find the Host Records section and click on the Add New Record button (not able to edit Host Records?):






4. Select the way your subdomain will be connected from the list below:

Subdomain that points to an IP address
Subdomain that forwards to a link/URL

Subdomain that points to a server name

Catch-all (wildcard) subdomain



Subdomain that points to an IP address

- Select A Record for Type and enter the Host you would like to point to an IP address:



Or




Subdomain that forwards to a link/URL

- Select URL Redirect Record for Type, enter the Host and the destination link/URL into the Value line. Select Unmasked/Masked/Permanent (301) depending on the Forward type:



Or




Subdomain that points to a server name

- Select NS Record for Type and enter the Host you would like to point to a server:



Or




- Check the Save All Changes button once done:





Normally, it takes 30 minutes for newly created records to take effect.


Catch-all (wildcard) subdomain


Wildcard subdomains allow you to point or redirect all non-existing subdomains to a valid page on a website. In order to create a wildcard subdomain, follow the instructions here.


That's it!

If you have any questions, feel free to contact our Support Team.

Comments

We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close