# Choosing a subdomain

{% hint style="info" %}
Please follow the steps to set a custom domain in this order:

1. [Choosing a custom domain](/store-setup/custom-domain/choosing-a-subdomain.md)
2. [Initiating the custom domain setup](/store-setup/custom-domain/initiate-customdomain.md)
3. [Configuring DNS](/store-setup/custom-domain/configuring-dns.md)
4. [Check DNS](/store-setup/custom-domain/check-dns.md)
   {% endhint %}

*Only* subdomains can be used to serve your store. It's not possible to use an apex domain.

Here are some examples of what you could and could not choose — just replace `example.com` with your own domain:

| Domain type      | Example                                                                                                       | Supported? |
| ---------------- | ------------------------------------------------------------------------------------------------------------- | :--------: |
| Apex domain      | `example.com`                                                                                                 |      ❌     |
| `www` subdomain  | `www.example.com`                                                                                             |      ✅     |
| Custom subdomain | <p><code>docs.example.com</code></p><p><code>help.example.com</code><br><code>anything.example.com</code></p> |      ✅     |

Once you have chosen your custom domain, you're ready to move onto the next step: [Initiating the custom domain setup](/store-setup/custom-domain/initiate-customdomain.md)


---

# Agent Instructions: 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:

```
GET https://docs.tip4serv.com/store-setup/custom-domain/choosing-a-subdomain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
