> For the complete documentation index, see [llms.txt](https://www.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.osdeploy.com/guides/go-osdcloud/custom-domain.md).

# Custom Domain

This page will detail how to add your subdomain to the Azure Function

## Add custom domain

1. **Custom domains**
2. **Add custom domain**
3. **Custom domain: \<enter your full subdomain>**
4. **Validate**

![](/files/JFSj9agrFCPU4aIGxita)

## Domain ownership

You will need to add these two values to your Domain's DNS

![](/files/KhnC5koiUrCFF8qgZLLF)

## Domain DNS

Your Domain DNS configuration will not be the same as mine, but in my example, I added two new records to osdcloud.com which is registered with Google Domains

![](/files/E38nJRK6juk1ZmX187NX)

## Validate

Once your Domain's DNS has been updated, come back to 'Add custom domain and press the Validate button

![](/files/FFVMrW60BdHAm9PjbMKJ)

If you did everything right, you'll get some green checks

![](/files/arVGssxupCrSDPOGQSx3)

Now you are ready to add an SSL Binding to your subdomain

## Sponsor

**OSDeploy is sponsored by** [**Recast Software**](https://www.recastsoftware.com/?utm_source=osdeploy\&utm_medium=ad\&utm_campaign=web) **and their Systems Management Tools**

{% embed url="<https://www.recastsoftware.com/?utm_source=osdeploy&utm_medium=ad&utm_campaign=web>" %}
Sponsored by Recast Software
{% endembed %}


---

# 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://www.osdeploy.com/guides/go-osdcloud/custom-domain.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.
