---
title: "Analyze a custom hostname."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname"
tags: ["WebApps"]
---

# Analyze a custom hostname.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname`

Analyze a custom hostname.

## Path parameters

- `resourceGroupName` string, required
- `name` string, required
- `subscriptionId` string, required

## Query parameters

- `hostName` string
- `api-version` string, required

## Response `200`

OK

- CustomHostnameAnalysisResult — unresolved $ref

## Other responses

- `default` — App Service error response.

---

[API](https://skmtc.dev/azure/apis/webapps-api-client.md) · [All operations](https://skmtc.dev/azure/apis/webapps-api-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/webapps-api-client/revisions/54aaf9786c4f/schema)
