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

![](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 %}
