> For the complete documentation index, see [llms.txt](https://docs.enginsight.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enginsight.com/docs/knowledge-base/english/configuration/how-do-i-adjust-the-docker-configuration-for-enginsight-when-using-split-dns.md).

# How do I adjust the Docker configuration for Enginsight when using Split DNS?

If you use Split DNS and want to access a host in your network via its internal IP address, while the default DNS record only points to the public IP address, you must explicitly add the internal IP address of the corresponding host to the Docker configuration file **docker-compose.yml** in individual Docker containers.

This also applies if no DNS record exists and you either do not want to create one or do not have the option to do so.

Follow these steps:

{% stepper %}
{% step %}
Log in to the **Enginsight Application Server**.
{% endstep %}

{% step %}
Navigate to the Enginsight installation directory using the following command:

```
cd /opt/enginsight/enterprise
```

{% endstep %}

{% step %}
Open the **Docker configuration file** using the following command:

```
sudo nano docker-compose.yml
```

{% endstep %}

{% step %}
In the Docker containers `server-m2` and `ui-m1`, add the section `extra_hosts` as follows:

<pre><code>extra_hosts:
<strong>  - "&#x3C;DomainApp>:&#x3C;InternalIPAddressHost>"
</strong></code></pre>

{% hint style="info" %}
Remember to replace the parameters `<DomainApp>` and `<InternalIPAddressHost>` accordingly.
{% endhint %}
{% endstep %}

{% step %}
Save the changes in the configuration file (**Ctrl** + **o**) and confirm the save process. Close the file (**Ctrl** + **x**).
{% endstep %}

{% step %}
You now need to run the setup script for the Application Server again to apply your configuration changes.

To do this, navigate to the directory where the Enginsight configuration files are located using the following command:

```
cd /opt/enginsight/enterprise
```

{% endstep %}

{% step %}
Run the setup script for the Application Server anew using the following command to apply your changes, and confirm all prompts with the **Enter** key:

```
sudo ./setup.sh
```

{% endstep %}
{% endstepper %}

***
