> For the complete documentation index, see [llms.txt](https://docs.pagedeck.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagedeck.com/getting-started/connecting-a-subdomain.md).

# Connecting a Subdomain

Because Pagedeck hosts your landing pages *independently* of your online store (whether that's Shopify or any other eCommerce platform), most brands will connect their landing pages to a subdomain.

To start, navigate to your **Brand Settings** and follow the steps below:

<div data-with-frame="true"><figure><img src="/files/w75VckXeUea1TZMeTaKM" alt=""><figcaption></figcaption></figure></div>

***

### 1. Add your subdomain to Pagedeck

In the Custom Domain section, add the full subdomain URL you'd like to connect. Click **+ Add Domain**

{% hint style="danger" %}
**Be sure to type in the&#x20;*****entire*****&#x20;subdomain URL into the Custom Domain field** *(e.g.* ***try.mybrand.com***). \
\
**DO NOT** enter your root domain only (e.g. mybrand.com): this will give you an **incorrect** DNS record, and **will disconnect** your existing website.&#x20;
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/XhJkv2vRwt6rcgJt5zK9" alt=""><figcaption></figcaption></figure></div>

***

### 2. Copy your CNAME record

Pagedeck will generate the DNS record you need to add in order to connect your subdomain. Copy each field.

<div data-with-frame="true"><figure><img src="/files/GzDLN8BvcLNvefQJ7iFM" alt=""><figcaption></figcaption></figure></div>

***

### 3. Add your CNAME record to your domain registrar

Adding a new DNS record depends on where your domain is managed.&#x20;

Below you'll find documentation links for adding a CNAME record at common registrars. Simply log in to your registrar and follow their instructions to complete the subdomain connection.

1. [GoDaddy](https://www.godaddy.com/help/add-a-cname-record-19236)
2. [Shopify Domains](https://help.shopify.com/en/manual/domains/managing-domains/edit-dns-settings)
3. [Namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/9646/2237/how-to-create-a-cname-record-for-your-domain/)
4. [Google Domains](https://support.google.com/domains/answer/3290350?hl=en)
5. [Squarespace Domains](https://support.squarespace.com/hc/en-us/articles/360002101888-Adding-custom-DNS-records-to-your-Squarespace-managed-domain)
6. [Hover](https://help.hover.com/hc/en-us/articles/217282457-Managing-DNS-records)
7. [BlueHost](https://my.bluehost.com/hosting/help/resource/714)
8. [DreamHost](https://help.dreamhost.com/hc/en-us/articles/360035516812-Adding-custom-DNS-records)
9. [Dynadot](https://www.dynadot.com/community/help/question/create-CNAME)
10. [Hostinger](https://support.hostinger.com/en/articles/4738777-how-to-manage-cname-records)

If you need assistance, contact us at <support@pagedeck.com> and we'll be happy to walk you through the process.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.pagedeck.com/getting-started/connecting-a-subdomain.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
