---
title: How To Setup A Subdomain
description: "A subdomain is a subsection of your website that can exist as a new website without a new domain name. Use subdomains to create memorable URLs for different content areas of your site. *For example, you can create a subdomain…"
url: "https://www.xeronhost.com/docs/how-to-setup-a-subdomain/"
updated: "2022-03-08"
category: cPanel
tags:
  - cPanel
  - Domain
---

# How To Setup A Subdomain

A subdomain is a subsection of your website that can exist as a new website without a new domain name. Use subdomains to create memorable URLs for different content areas of your site.

*For example, you can create a subdomain for your blog that is accessible through blog.example.com and www.example.com/blog*

In this tutorial, we’ll show you **how to setup a subdomain**.

1. Login to your [Binarilink Cloud Console](https://console.cloud.binarilink.com/login)

2. Access cPanel

3. Once in cPanel, **scroll down** under Domains and click**Subdomains**.

![](https://www.xeronhost.com/wp-content/uploads/2021/04/2021-04-27_130609.png)

4. On the Subdomains page, simply **give the subdomain a name**, **select the domain** (if you have multiple domain or addon domain), and **define the Document Root folder**.

![](https://www.xeronhost.com/wp-content/uploads/2021/04/2021-04-27_131151.png)

For this example, we’re going to call our subdomain **blog**, so, we will select the Domain xeronhost.com and leave the Document Root folder the default public_html/blog. After this is done, click **Create**.

5. The subdomain is now set up and can be viewed at blog.xeronhost.com.

Additionally, a directory with the subdomain folder has been created where you put the Document Root folder. Ours is in public_html.
