> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.dorik.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Adding Subdomain to your website (Dorik Classic & CMS)

# Getting Started

This documentation will guide you through the process required to add a **Subdomain** to your Classic & CMS site. To know the whole process, follow all the steps below accordingly.

---

# Add a Subdomain to your Static site

**Follow all the steps below** to **add a subdomain** to your **Dorik Static** website:

- Log in to your account & go to **Dorik Classic**
- Select any existing published site where you want to add a subdomain
- Click on `... ` from the lower right corner & a pop-up will appear
- Select ⚙️ **Site Settings** & a pop-up will appear again
- Choose **Custom Domain (without www)** under Site URL Settings
- Write your subdomain (For e.g. ** test.dorik.homes **) in the **Enter your domain** input field
- Copy the **IPv4 address** (E.g **174.138.116.26**) of the **A record value**
- Press `Save Changes`
- Go back to your domain provider’s DNS Setting panel
- Add a new record by clicking on `+ Add Record`
- The record type should be `A`
- Write the extension’s name in the **Name** input field
- Paste the **IPv4 address** that you copied before from your site into the **next input field**
- **`Disable`** the **Proxy Status**
- Save the Record by clicking on `Save`
- Go back to your site, **Publish** it, and **Visit** your subdomain
- After visiting your subdomain once, you can go back to the domain provider’s DNS Setting panel and `Enable` the **Proxy Status**

**The Screenshots and GIFs below demonstrate how to add a subdomain to your Classic site ⬇️**

1. Log in to your account & go to **Dorik Classic**
2. Select any existing published site where you want to add a subdomain
3. Click on ` ... ` from the lower right corner & a pop-up will appear
4. Select ⚙️ **Site Settings** & a pop-up will appear again
5. Choose **Custom Domain (without www)** under Site URL Settings
6. Write your subdomain (For e.g. ** test.dorik.homes **) in the **Enter your domain** input field
7. Copy the **IPv4 address** (E.g **174.138.116.26**) of the **A record value**
8. Press `Save Changes`


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/gif-recording-2023-06-21-at-51_154e3oe.gif)

9. Go back to your domain provider’s DNS Setting panel
10. Add a new record by clicking on `+ Add Record`

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/untitled_zg3nog.png)

11. The record type should be **A**
12. Write the extension’s name in the **Name** input field
13. Paste the **IPv4 address** that you copied before from your site into the **next input field**
14. Save the Record by clicking on `Save`

|| Before pressing save, make sure you Disable the Proxy Status button next to the IPv4 address field.


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/screen-shot-2023-03-16-at-1227_1op2rup.png)

15. Go back to your site, Publish it, and Visit your Subdomain URL

|| After visiting your subdomain once, you can go back to the domain provider’s DNS Setting panel and Enable the Proxy Status.

---
---

# Add a Subdomain to your CMS site

**Follow all the steps below** to **add a subdomain** to your **Dorik CMS** website:

- Once you are in your website’s **Dashboard**, click on **Custom Domain**
- Add the name of the subdomain in the **first input field** (blog.example.com)
- Copy the **IPv4 address** (E.g **18.119.18.10**) of the **A record value**
- Click on `Connect Domain`
- Go back to your domain provider’s DNS Setting panel
- Add a new record by clicking on `+ Add Record`
- The record type should be **A**
- Write the extension’s name in the **Name** input field (For e.g. ‘blog’ for blog.example.com)
- Paste the **IPv4 address** that you copied before from your site into the **next input field**
- `Disable` the **Proxy Status**
- Save the Record by clicking on `Save`
- Go back to your site, **Publish** it, and **Visit** your subdomain
- After visiting your subdomain once, you can go back to the domain provider’s DNS Setting panel and `Enable` the **Proxy Status**

|| Subdomains are added to another CMS website and won’t work on your existing CMS pages. In short, you can create subdomains from your domain provider’s DNS records, which can be integrated into its own CMS Site.

**The Screenshots and GIFs below demonstrate how to add a subdomain to your CMS site ⬇️**

1. Once you are in your website’s **Dashboard**, click on **Custom Domain**
2. Add the name of the subdomain in the **first input field** (blog.example.com)
3. Copy the **IPv4 address** (E.g **18.119.18.18**) of the **A** Record Value ****
4. Click on `Connect Domain`


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/gif-recording-2023-06-21-at-52_2r6l8l.gif)

5. Go back to your domain provider’s DNS Setting panel and add a new record

![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/untitled-1_feup8t.png)

6. The record type should be **A**
7. Write the extension’s name in the **Name** input field (For e.g., ‘blog’ for blog.example.com)
8. Paste the **IPv4 address** that you copied before from your site into the **next input field**
9. Save the Record by clicking on `Save`

|| Before pressing save, make sure you Disable the Proxy Status button next to the IPv4 address field.


![](https://storage.crisp.chat/users/helpdesk/website/cf1fc9cc00911000/untitled-2_1i3vpjz.png)

10. Publish your site and Visit your subdomain

|| After visiting your subdomain once, you can go back to the domain provider’s DNS Setting panel and Enable the Proxy Status button next to the IPv4 address field.

---

# Related articles


[Custom Domain Configuration - CMS Site](/en/article/custom-domain-configuration-cms-site-13z21uw/)


[How to Configure Custom Domain from Cloudflare.](/en/article/how-to-configure-custom-domain-from-cloudflare-5wpao8/)