How can I create a subdomain?

Subdomain A subdomain is a part of your main domain that you can use to build another section of your website, or to start a new project altogether. You can create subdomains like : If your primary website is subdomains such as:

blog.example.com
shop.example.com
support.example.com

Subdomains are often used for blogs, staging sites, customer portals, support centers or country specific versions of a website.


What is Subdomain?

Sub-domains are a way of separating areas of your website. It's widely used for:

Subdomains are like their own website, but are still part of your main domain name.

How to make a subdomain in cPanel

Most hosting providers allow you to create subdomains from cPanel.

How to Do It, Step by Step

For example:

log

Your subdomain will be set up automatically.

What is Document Root?

The document root is the folder where the subdomain files are stored.

For example:

/blog/public_html/

Any files you upload to this folder will be available on your subdomain.

DNS & Propagation.

Most of the hosting panels will create the DNS records for the subdomains automatically. But DNS propagation can still take a while.

In many cases:

Create website subdomain

Once the subdomain is created you can:

The vast majority of hosting providers offer a one-click installer for WordPress and other applications.

Big Clues

Conclusion

Subdomains are a simple and powerful way to organize different sections of your website. Subdomains allow you to have a blog, store, staging site or support portal without the need for a separate domain name. These are easy to set up on most hosting platforms with cPanel or similar control panel.