> For the complete documentation index, see [llms.txt](https://documentation.siteglide.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.siteglide.com/portal/sites/domains/subdomain-on-a-separate-instance.md).

# Subdomain on a separate instance

{% hint style="info" %}
This example is only applicable where your top level domain is fully delegated to Siteglide. If using External DNS Step 2 would not be done in Siteglide but instead wherever your DNS is managed.
{% endhint %}

You might want to have [www.example.com](http://www.example.com) on one Siteglide instance and app.example.com (or any other subdomain) on another Siteglide instance.

1. First add your subdomain to the second instance as a new domain:

<figure><img src="https://584571746-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ft7n2OYNNUr9PgpkBD2eX%2Fuploads%2Fgit-blob-86117eeb81429e8157241befd079cb02fd0d9839%2FSiteglide-Domains-Add-Subdomain.png?alt=media" alt=""><figcaption></figcaption></figure>

1. Then go to the DNS records of your fully delegated domain and create a CNAME as follows:

| Name | Type  | Value       |
| ---- | ----- | ----------- |
| app  | CNAME | example.com |

This will use the SSL certificate from the top level domain and resolve correctly to the new instance.
