> For the complete documentation index, see [llms.txt](https://help.aximo.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aximo.autify.com/memories/shared-memories/memory-hostnames.md).

# Hostnames

Use hostnames when you want a specific hostname to resolve to a specified IPv4 address during Web or Desktop session execution, or when configuring a Web case. For example, use this when you want to connect to a different destination such as a verification server while keeping the same hostname.

{% hint style="info" %}
Configure a hostname and an IPv4 address. The hostname can be up to 253 characters and can include the wildcard `*`. You can add up to 50 hostnames.
{% endhint %}

<figure><img src="/files/QIbh243pioQAl1VgH7QC" alt="Hostnames tab screenshot"><figcaption><p>Hostnames tab</p></figcaption></figure>

## Add a hostname override

1. On the **Hostnames** tab, click **Add override**.

<figure><img src="/files/N2D28kbnUk2XtmYiPExC" alt="New hostname override dialog screenshot"><figcaption><p>New hostname override dialog</p></figcaption></figure>

2. In **Hostname**, enter the target hostname.
3. In **IP address**, enter the IPv4 address to assign.
4. Click **Done**.

## Apply in sessions and cases

Apply registered hostname overrides when starting a Web or Desktop session, or as a Web case execution setting. The option appears only when at least one override is registered in memories.

To apply in a session, follow these steps.

1. On the new session screen, select **Web** or **Desktop** at the top of the screen.
2. Enter the scenario, start URL, and other settings.
3. In **Hostname overrides**, select one override to apply.

<figure><img src="/files/PIMUmbb04sD7QPqDB28N" alt="Selecting a hostname override on the new session screen screenshot"><figcaption><p>Hostname overrides on the new session screen</p></figcaption></figure>

4. Click **Run Test**.

{% hint style="info" %}
**Hostname overrides** appears only for Web and Desktop sessions. It cannot be configured for mobile sessions.
{% endhint %}

To apply in a Web case, follow these steps.

1. From the case list, open the target Web case.
2. On the case detail screen, click **Edit**.
3. In **Hostname overrides**, select the checkboxes of the overrides to apply (multiple selection is allowed).

<figure><img src="/files/dYZaBgUgESgm8K9teKKm" alt="Selecting hostname overrides on the Web case edit screen screenshot"><figcaption><p>Hostname overrides on the Web case edit screen</p></figcaption></figure>

4. Click **Save Changes**.

{% hint style="info" %}
Web cases created with **Save as a case** from a session inherit the hostname override configured at session run time.
{% endhint %}

For how to create sessions and cases, see [Test session](/test-case-creation/create-test-session.md) and [Create cases](/test-case-creation/create-test-case.md).

## Update or delete an override

1. On the **Hostnames** tab, click the row of the override you want to update.

<figure><img src="/files/7KDkDKswiZLI7Nw04I1L" alt="Hostname override edit dialog screenshot"><figcaption><p>Hostname override edit dialog</p></figcaption></figure>

2. Update **Hostname** or **IP address**.
3. Click **Done**.
4. To delete, click the delete icon on the right of the target row, then click **Delete** in the confirmation dialog.

<figure><img src="/files/D2x5kDE3RB30PckUQTqf" alt="Hostname override delete confirmation dialog screenshot"><figcaption><p>Hostname override delete confirmation dialog</p></figcaption></figure>

## Further reading

* [About memories](/memories/memory-overview.md)
