Sharing Information
Sharing Information
Picture of the author
Pankaj PawarinDevOps
17th Sept 24.07:00 Min.
https://sharinginfo.in/devops/create-wildcard-sub-domain-from-your-hosting-panel-cpanel-22.html

Create Wildcard Sub-domain from your hosting panel / cPanel

Create Wildcard Sub-domain from your hosting panel / cPanel
Photo by Simon Abrams on Unsplash

Why we need wildcard sub-domain and what is the wildcard sub-domain?

When you are creating multiple network site or you will allow user to create own site for them on your domain, for this automation process you need Wildcard sub-domain.

When you have fixed number of sub-domain that time you really don’t need to create Wildcard Sub-domain. Wildcard Sub-domain is not related to WordPress only, when you are develop any system base on any platform or framework and you want huge number of sub-domains that time you will use Wildcard Sub-domain.

Wildcard Sub-domain is just like *.yourdomain.com When you will try to access any Sub-domain on yourdomain.com that time you are redirected to your main domain directory or to the Document Root you have choose at the time of creating Wildcard Sub-domain.

To create wildcard sub-domain following the steps:

  1. Login to your hosting control panel.
  2. Find for Sub-domain under Domains section and click on that.
  3. Enter the * in Subdomain text field.
  4. Choose your domain.
  5. Select your Document Root where you have install WordPress or Your application where you want to point Sub-domain.
  6. Click on create.

That’s it you have created wildcard Sub-domain.

Video demonstration of how to create wildcard sub-domain:

Sharing Info Cookie Consent

Our website uses cookies to improve your browsing experience and relevant content delivery. Before continuing to use our website, you agree & accept of our Cookie Policy & Privacy.