How to add subdomain using Namecheap hosting cPanel

How to add subdomain using Namecheap hosting cPanel

In this blog post, we will explore the process of adding a subdomain using Namecheap Hosting’s cPanel, as of 2023. The recent cPanel update has led to some changes in the user interface, particularly regarding subdomains. However, adding a subdomain remains a straightforward task.

Subdomains are a valuable tool for website owners, as they allow you to create distinct web addresses under your primary domain without the need to purchase additional domain names. This flexibility is particularly useful when building multiple websites or apps for different purposes.

To demonstrate how to add a subdomain, we’ll use the example of adding a subdomain called “sample” to the primary domain “” Here’s a step-by-step guide:

  1. Log into Your Namecheap Account: Begin by logging into your Namecheap account, where you manage your hosting services.
  2. Access Hosting: Once you’re logged in, navigate to the hosting section in your account dashboard.
  3. Go to cPanel: Locate the hosting plan where you want to add the subdomain and click on “Go to cPanel.” This will take you to the cPanel interface for your hosting.
  4. Finding Subdomain Option: In the updated cPanel interface, the direct “Subdomain” option may no longer be available. Don’t worry; it’s still easy to add a subdomain.
  5. Accessing Domain Settings: Instead of a dedicated subdomain option, click on “Domains” in your cPanel menu.
  6. Create a New Domain: Within the Domains section, select “Add Domain” or “Create a New Domain,” depending on the terminology used in your cPanel.
  7. Enter Subdomain Details: In the form that appears, enter the subdomain you wish to create. In our example, it’s “” Ensure that the DNS label is correctly formatted, without any unnecessary characters.
  8. Check for Availability: Once you’ve entered the subdomain, the system will check if it’s available. If there are no conflicts, proceed with the creation.
  9. Create Directory: You may be prompted to create a directory for the subdomain. This directory will hold the content for your subdomain. Confirm the directory creation.
  10. Finalize and Wait: Your subdomain is now in the process of being created. It may take some time to propagate and become fully functional. During this period, you may encounter an error when attempting to access it. Patience is key, as it can take a few hours for the subdomain to be fully operational.

If you encounter persistent issues with subdomain access, especially if you’re using a Content Delivery Network (CDN) like Cloudflare, there are additional steps you can take:

  1. Cloudflare Configuration: In cases where the subdomain propagation delay persists for more than a couple of days, you can configure an additional DNS record in your Cloudflare account. This record should match your subdomain’s name and point to the IP address of your shared hosting.
  2. Adding an A Record in Cloudflare: Access your Cloudflare account, navigate to DNS settings, and create an A record with the subdomain name (e.g., “sample”) and the corresponding IP address from your cPanel’s shared IP address.

Remember that changes made to DNS records, such as adding an A record, might also take some time to propagate, so patience is essential during this process.

By following these steps, you can successfully add a subdomain in your Namecheap Hosting cPanel or any other hosting provider that uses the cPanel interface. Subdomains are a valuable resource for managing multiple web projects efficiently. If you found this guide helpful, please consider subscribing to our channel and liking this blog post. We hope this information serves you well, and if you have any questions, feel free to reach out. Have a great day!

India $1295