---
title: "Wildcard Subdomains and DNS"
description: "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..."
url: https://www.inmotionhosting.com/support/edu/cpanel/create-wildcard-subdomain/
date: 2016-10-28
modified: 2025-06-12
author: "InMotion Hosting Contributor"
categories: ["cPanel", "DNS and Nameserver Changes", "Domain Names"]
type: post
lang: en
---

# Wildcard Subdomains and DNS

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](https://www.inmotionhosting.com/support/edu/cpanel/how-to-log-into-cpanel/).
2. Click the **Subdomains** link in the *Domains* section.![Subdomains in cPanel](https://www.inmotionhosting.com/support/wp-content/uploads/2016/10/subdomains-cpanel-1024x290.jpg)
3. In the *Subdomain* field, type an asterisk * symbol, signifying that you are creating a wildcard subdomain.![Wildcard Example](https://www.inmotionhosting.com/support/wp-content/uploads/2016/10/newPaperLantern_cmNewPaper_23.png)
4. Choose the domain you want to create a wildcard subdomain for in the *Domain* section.![Choose Domain](https://www.inmotionhosting.com/support/wp-content/uploads/2016/10/newPaperLantern_cmNewPaper_24.png)
5. The *[Document Root](https://www.inmotionhosting.com/support/website/where-to-upload-files/)* field will automatically generate a path for your wildcard subdomain. You can change the path as needed.
6. Click the **Create** button.![Click Create](https://www.inmotionhosting.com/support/wp-content/uploads/2016/10/newPaperLantern_cmNewPaper_25.png)
7. You will then see a success message to confirm the subdomain was setup.![Success Message](https://www.inmotionhosting.com/support/wp-content/uploads/2016/10/newPaperLantern_cmNewPaper_26.png)

Congratulations! You have now successfully set up your account for wildcard domains. You still may need to modify your [.htaccess](https://www.inmotionhosting.com/support/website/htaccess-change-index-page/) file. If you have set up wildcard subdomains for WordPress Multisite, it will automatically configure the .htaccess file for you.
