# Server names

> Configure custom server names in AsyncAPI specifications with `x-fern-server-name` extension. Set up production and staging server labels.

Specify custom names for servers:

```yaml title="asyncapi.yml" {4-5}
servers:
  production:
    host: api.yourcompany.com
    x-fern-server-name: Production
    protocol: wss
  staging:
    host: staging.api.yourcompany.com
    x-fern-server-name: Staging
    protocol: wss
```