# 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`.
