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 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Related Articles

Video: Create Email Address in cPanel

This video tutorial demonstrates how to create an email address using cPanel Shared Hosting...

How to Edit Zone File and Setup DNS Forwarding

To perform DNS forwarding, change your zone file, (MX, A-Records & CNAME) using the following...

Disabling mod_security in cPanel

Mod_security is an apache module that helps to protect your website from various attacks. It is...

Update Nameservers for Domains Registered at GoDaddy

After signing up for a hosting account, you will receive a Welcome email containing important...

Video: Setup Email Forwarder in cPanel

View our Step-by-Step Tutorial Video for Setting up an Email Forwarder in cPanel Shared Hosting.