> For the complete documentation index, see [llms.txt](https://docs.flexidomain.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexidomain.in/custom-domains-setup/adding-a-domain-to-a-project.md).

# Adding a domain to a project

When you have successfully created a project, you can now start adding custom domains and subdomains to your project. These can be your client domains that you want to associate with your project. When configured correctly, these domains will serve the data from your main project domain without displaying the project domain url.\
So, the domain will be different but the content will be served from the project domain.

Follow below steps to add a domain/subdomain to your project in Flexi Domain.

1. **Click on the project** you want to add domains to. You will see two options:\
   \- Add Domains\
   \- Delete the project
2. Click on **Add Domains**

<figure><img src="/files/E3upK4eRH0Kbw7mg8iXH" alt="" width="563"><figcaption><p>Add domains in Flexi Domain</p></figcaption></figure>

3. A new page will open to add domains. This page will also display all your existing domains (if you have added any). Click on 'Add Domain'. &#x20;

<figure><img src="/files/kNUoAuLM9GGb5Osw36iQ" alt="" width="563"><figcaption></figcaption></figure>

Enter the url correctly. This can be your client domain or just yours. Click Save.

<figure><img src="/files/fYSnDF5bzcslLUtLyZKH" alt="" width="563"><figcaption><p>Adding domain to Flexi Domain</p></figcaption></figure>

4. Done. Your domain has been added. Now, you just need to create an A record in your domain provider and point to the IP address displayed on your screen.

<figure><img src="/files/Vrvasg8Zc4tF4PMDXAdT" alt="" width="563"><figcaption><p>Create A record in flexi domain</p></figcaption></figure>

{% hint style="info" %}
Note: It can take from couple of minutes to 24 hours for your domain to get properly migrated. Please be patient during this time.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flexidomain.in/custom-domains-setup/adding-a-domain-to-a-project.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
