# Adding a Custom Domain Name

### Hosted Clients

{% hint style="info" %}
Hosted clients can use the backend management system at [management.cipp.app](https://management.cipp.app) to add a domain
{% endhint %}

### Adding a Custom Domain Name

Why setup a custom domain?

1. The automatically generated domain uses azurewebsites.net which is often blocked by web filtering products as it's often used by spammers and phishing sites due to the ease of obtaining an azurewebsites.net subdomain.
2. Your bookmark stays the same if you redeploy.
3. Easier to communicate internally and looks better for your team.

At the moment of deployment, the application uses a generated domain name. To change this follow these instructions:

* Go to CIPPs Settings menu
* Click on 'Static Web app - Role Management'
* Select Custom Domains. You can add your own domain name here.

For more information see Microsoft's documentation at [Microsoft Docs - Set up a custom domain with free certificate in Azure Static Web Apps](https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain?tabs=azure-dns)


---

# 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.cipp.app/setup/self-hosting-guide/customdomain.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.
