New Feature Announcement: Master Your Email Delivery with the Mail Delivery Center

How to: Add wildcard subdomain through cPanel

You may need to set up a wildcard subdomain, and this can be done within your cPanel account. A wildcard DNS record is a record that matches requests for non-existent domain names. A wildcard DNS record is specified by using the * symbol to create a record for the *.example.com. The most common applications for a wildcard subdomain is for use with SSL or WordPress Multisite.

How to Create a WildCard Subdomain

  1. Log into cPanel.
  2. Click the Subdomains link in the Domains section.

     
  3. In the Subdomain field, type an asterisk * symbol, signifying that you are creating a wildcard subdomain.

     
  4. Choose the domain you want to create a wildcard subdomain for in the Domain section.

     
  5. The Document Root field will automatically generate a path for your wildcard subdomain. You can change the path as needed.
  6. Click the Create button.

     

    You will then see a success message to confirm the subdomain was setup.

     

Congratulations! You have now successfully set up your account for wildcard domains. You still may need to modify your .htaccess file. If you have set up wildcard subdomains for WordPress Multisite, it will automatically configure the .htaccess file for you.

  • 344 Users Found This Useful
  • cpanel, wildcard, domain, subdomains
Was this answer helpful?

Related Articles

 How to Install WordPress With Softaculous

WordPress is one of the most popular blogging platforms around for a good reason. It is easy to...

 How to Install WordPress Manually

Step 1: Download WordPress Download the WordPress package to your local computer from...

 Deploy Local WordPress Setup into your cPanel account

  Create a new domain in your cPanel account: Log in to your cPanel account. Look for...

 How to Transfer a Domain from Hostinger to WebGee

If you're looking to transfer a domain from Hostinger, this guide will provide step-by-step...

Powered by WHMCompleteSolution