# Domain Management

{% hint style="info" %}
Before you start, please be aware that you will need access to your DNS to validate any custom domain you add to your Cozmos space.
{% endhint %}

By default all spheres use the cozmos.com domain, all of your generated and published spheres will be accessible through the following URL structure:

`https://`<mark style="color:yellow;">`[space_name]`</mark>`.cozmos.com/`<mark style="color:yellow;">`[lng]`</mark>`/`<mark style="color:yellow;">`[sphere_name]`</mark>

* <mark style="color:yellow;">Space name:</mark> The name you set for your space when creating it
* <mark style="color:yellow;">lng:</mark> The language code for the language set for the sphere
* <mark style="color:yellow;">Sphere name:</mark> The name given to the sphere created in you space&#x20;

To add a custom domain to your Space, go to the Settings page and select Domain Management

<figure><img src="/files/cReenyTaoxEOd79sQKgE" alt="Settings/Domain management"><figcaption></figcaption></figure>

From here it's a straightforward process of following the prompts from Cozmos, updating your DNS with the provided records and waiting for DNS validation.&#x20;

#### Step 1 is adding your domain:

{% hint style="warning" %}
Please note, the purple 'dots' shown in the screen below are for illustrative purposes only, you will see your domain and necessary records shown in these areas.
{% endhint %}

<figure><img src="/files/AglkomY1wVBGogHJ5tyM" alt="Custom Domain"><figcaption></figcaption></figure>

Once added you will see an option for 'Show Details' click on this to expand the DNS records

<figure><img src="/files/TDNa8MroFyojAXew5k6u" alt=""><figcaption></figcaption></figure>

#### Set 2 add the provided TXT record to your DNS

Once your TXT records have been validated, you will be provided with the Certificate records

<figure><img src="/files/qSefnjrXJ3INvugESqMB" alt=""><figcaption></figcaption></figure>

#### Step 3 add the provided A records

Once your Certificate records have been validated, you will be provided with two A records

<figure><img src="/files/FodY6TGsEjglfVs3375B" alt=""><figcaption></figcaption></figure>

Once all DNS records have been verified you will see a 'connected' status for your custom domain

<figure><img src="/files/2dnlzwwmO9WQPxguGrl2" alt=""><figcaption></figcaption></figure>

#### Using your custom domain

Once connected you are able to create new sphere's using the custom domain or edit existing spheres to be accessible via your custom domain

You can select your domain via the dropdown option in the 'add new sphere' or 'edit sphere' overlay

<figure><img src="/files/0wuuOs2reGuufbp6mWtC" alt=""><figcaption></figcaption></figure>

If you have multiple domains in your Cozmos Space you can either select which domain you want to use or select the option for 'All'.

{% hint style="info" %}
Depending on your DNS provider it can take a few hours for a new DNS entry to validate. This is often not the case but be aware that this process is not always instant.&#x20;

If you feel you have entered everything correctly and the process is taking too long, please [contact our support team](/help/support.md) for help
{% endhint %}

#### Deleting a custom domain

If you no longer want to use a custom domain on your Cozmos Space you can delete it from the Domain Management screen. Any sphere published on that domain will then default back to the internal cozmos.com subdomain.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.cozmos.com/guides/domain-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
