> For the complete documentation index, see [llms.txt](https://docs.datarhei.com/core/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datarhei.com/core/configuration/hostname.md).

# Hostname

Settings for the host datarhei Core is running on.

## Configuration

{% tabs %}
{% tab title="JSON" %}

```
{
   "host": {
        "name": ["domain.com"],
        "auto": true
   }
}
```

{% endtab %}

{% tab title="ENV" %}

```
CORE_HOST_NAME=domain.com
CORE_HOST_AUTO=true
```

{% endtab %}
{% endtabs %}

### name (array)

A list of public host/domain names or IPs this host is reacheable under. For the ENV use a comma separated list of public host/domain names or IPs.

The default is an empty list.

### auto (bool)

Enable detection of public IP addresses in case the list of names is empty.

By default this is set to `true`.
