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?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help 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.
}