InMotion Hosting Support Center

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, place an asterisk * symbol there 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.

Continued Education in Course 203: Managing your Domains in cPanel
You are viewing Section 1: Wildcard Subdomains and DNS
Section 2: How to Setup a Domain Redirect in cPanel

Support Center Login

Social Media Login

   
Social Login Joomla

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!
Ask a Question
n/a Points
2016-11-25 3:21 am

 

There was a problem creating the sub-domain:

Directory paths cannot be empty or contain the following characters: \ ? % * : | " < >

Staff
11,901 Points
2016-11-25 11:00 am
Make sure you are setting a doc root path, which should correct the issue.

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.

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!