> 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/archive/go-osdcloud/custom-domain.md).

# Custom Domain

Azure Function App

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**

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FNyqfK4irtCSNomnFemQE%2Fimage.png?alt=media\&token=6a1e77eb-26fe-4a4a-b3fd-b200b71a988e)

## Domain ownership

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2Fx473ojKsLgSosz7dkQQ4%2Fimage.png?alt=media\&token=d4a6dde9-c4fa-437f-952b-684c861c73f0)

## 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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FQ9zJ5uBCf0rlzZOvxe9s%2Fimage.png?alt=media\&token=c8861aea-f415-4ce0-b7e0-bb97bf6585db)

## Validate

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2FMnowXMTAK96HwtCen0MC%2Fimage.png?alt=media\&token=2bdaa79e-06f5-4ac8-bfa5-9a5274e9bc3c)

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

![](https://3996045416-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDKRxGiKLYjW1gana2O%2Fuploads%2F2QuYPVfGdOjDkUShNLyV%2Fimage.png?alt=media\&token=969bc8af-1cae-4497-b619-64c7ab528447)

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.osdeploy.com/archive/go-osdcloud/custom-domain.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
