# Do We Support Wildcard Subdomains?

Yes, Clouduxe supports wildcard DNS for subdomains.

**Wildcard subdomains** allow you to point all existing and non-existing subdomains to a specific folder in your cPanel account. This is useful for:

* Multisite web applications (e.g., WordPress Multisite)
* Speeding up DNS propagation
* Showing the same content across multiple subdomains as the main site.

For example, if your main domain is `testing.com`, enabling a wildcard subdomain means that subdomains like `support.testing.com` (non-existing) or `admin.testing.com` (existing) will both show the same content. The wildcard is represented by an asterisk `*`, such as `*.testing.com`.

### Prerequisites

* Wildcard subdomains are only available for domains where the DNS is hosted with us (i.e., pointed to our NameServers).

### How to Create a Wildcard Subdomain

Follow these steps to create a wildcard subdomain in your Clouduxe cPanel account:

* **Log into your cPanel account**.
* Go to the **Domains** section and click on **Domains**.

  <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Tip:</strong> This section lists all your current domains and subdomains.</p></div>

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FXf2eYNfql6GTmrMxwDYv%2FScreenshot%202024-09-23%20020940.png?alt=media&#x26;token=363068c9-104c-470b-86ad-0ce91a866270" alt=""><figcaption></figcaption></figure>

* Click on **Create a New Domain**.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FrrRHfyI5Ao8IikT0YaB9%2FScreenshot%202024-09-23%20021104.png?alt=media&#x26;token=1843dd61-dc6b-4365-9012-5146736e6713" alt=""><figcaption></figcaption></figure>

* In the subdomain box, type an asterisk `*` to signify the wildcard subdomain.

<figure><img src="https://3645136414-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIcJwwORgqOz8NHr15WEz%2Fuploads%2FMdVpyENWdIcg7e74h49E%2FScreenshot%202024-09-23%20021747.png?alt=media&#x26;token=5c4e862e-aedc-4054-852a-50ed6202662d" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Success:** Other fields will automatically generate the file path for the wildcard subdomain. You can modify the directory by typing a full path in the **Document Root** field if needed.
{% endhint %}

5. Click **Submit**. You will receive a success message once the wildcard subdomain is set up.

### DNS Propagation

The wildcard subdomain record will automatically be added to your domain’s DNS entry. This might take a couple of hours to propagate across the internet.

* If the root domain’s DNS is not managed by cPanel, the wildcard subdomain’s **A record** will need to be manually added to the DNS zone on the server managing the root domain's DNS.

{% hint style="warning" %}
**Note:** DNS changes may take time to propagate fully (24–72 hours).
{% endhint %}

#### Example Use Cases for Wildcard Subdomains

* **Multisite Networks**: WordPress multisite installations often use wildcard subdomains to manage multiple sites.
* **Unified Content**: If you want all subdomains to display the same content as your main domain, wildcard subdomains are ideal.

If you need any assistance with setting up wildcard subdomains or modifying DNS records, our support team is available 24/7 to help.
