If you need to set up a wildcard subdomain, that can be done in your account cPanel.  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 *.yourdomain.com.  This is most commonly implemented when using an SSL or for WordPress MU.

How to create a Wildcard Subdomain

cPanel makes creating a wildcard subdomain quick and easy.  First, log into your cPanel account and click on Subdomains:

sub1

Next, in the "subdomain" field just put a *.  A * is often used to signify a wildcard symbol and it does in cPanel as well.  Make sure that the Document Root stays as "public_html" as shown below:

wildcardsub1

Then click on "Create."  A confirmation page will appear, click "Go Back" and confirm the subdomain was created:

wildcardsub2

That is it!  Your account is now set up for wildcard subdomains.  Depending on the reason you've set up the Wildcard Subdomain, a .htaccess modification may be needed.  Please read this article for information on updating your .htaccess file.  If you set up the wildcard subdomain for WordPress MU, WordPress will update your .htaccess file automatically.

Did you find this article helpful?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. how to make new website with single account.
  2. Internal Server Error
  3. Add a note field to order page in Prestashop 1.5

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.