How to Create Wildcard Subdomains in cPanel


This article provides a guide for how to create wildcard subdomains for cPanel hosting accounts.

What are Wildcard Subdomains?

A wildcard subdomain is a DNS record that matches requests for non-existent subdomains. It is specified by a “*” symbol as part of the domain name, example: *.yourdomain.com.

Wildcard subdomains are useful for allowing end users to create their own sites or spaces with a unique subdomain on a domain-based platform or network. For example, a restaurant can have its own digital ordering platform with the subdomain restaurantname.menus.abc. Wildcard subdomains can also be used for hosting content and personal portfolios.

How to Create Wildcard Subdomains in cPanel

To create a wildcard subdomain in cPanel, follow the steps below:

  1. Log into the cPanel for the account on which to place the wildcard subdomain.
  2. Open the "Domains" interface in the "Domains" section of cPanel.
  3. Click the "Create A New Domain" button.
  4. In the "Domain" text box, type the full wildcard subdomain name (i.e., *.domain.tld).
  5. In the "Document Root (File System Location)" text box, enter the path to the folder where the wildcard subdomain's files should be placed.
  6. Click the "Submit" button.
  7. Click the "Tools" icon to return to the main cPanel page.
  8. Open the "Zone Editor" interface in the "Domains" section of cPanel.
  9. Click the "Manage" button to the right of the wildcard subdomain's root domain (i.e., domain.tld).
  10. Verify that the A record for the wildcard subdomain exists and points to the correct IP address.

 

  • subdomain, wildcard, dns records, dns zone manager, dns zone editor, dns, cpanel, cpanel custom dns, cpanel guides
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Create Spam Filters for Mailing Lists

This document explains how to create mail filter rules in cPanel's Mailing Lists interface (Home...

Video: Create Email Filter in cPanel

This video tutorial provides Step-by-Step instructions for creating an email filter in cPanel...

Video: Using Webmail in cPanel

This video tutorial provides Step-by-Step instructions for using Webmail in cPanel Shared Hosting...

Video: Change cPanel Style

This video tutorial provides Step-by-Step instructions for changing the Style settings in cPanel...

Video: Managing Directory Privacy in cPanel

This video tutorial provides Step-by-Step instructions for managing Directory Privacy within a...