---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / isDefaultDomainHostname

# Function: isDefaultDomainHostname()

> **isDefaultDomainHostname**(`hostname`): `boolean`

Defined in: [packages/b2c-tooling-sdk/src/clients/custom-apis.ts:236](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/clients/custom-apis.ts#L236)

Whether a hostname is the storefront Default Domain rather than a Business Manager host.

Default Domain traffic passes through eCDN zones whose rate limits and firewall rules are meant
for shoppers, and on On-Demand Sandboxes it serves only the storefront.

## Parameters

### hostname

`string`

## Returns

`boolean`

## Example

```ts
isDefaultDomainHostname('abcd-001.sbx.my.commercecloud.salesforce.com') // Returns true
isDefaultDomainHostname('abcd-001.dx.commercecloud.salesforce.com')     // Returns false
```
