# Multiple instances on one URL with extension

**URL:** <https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830>\
**Category:** Installing my Dolibarr\
**Tags:** Installation-Issues\
**Created:** [February 9, 2022, 8:17am UTC](https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830 "2022-02-09T08:17:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurenthdl](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/l/13edae/32.png) [@laurenthdl](https://www.dolibarr.org/forum/u/laurenthdl)\
**Post date:** [February 9, 2022, 8:17am UTC](https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830/1 "2022-02-09T08:17:38Z")

</div>

Hi,  
First I want to say congratulations for your wonderful community and product.

I am trying to get dolibarr to work on one url with extensions ([dolibarr.exemple.com/myinstancea](http://dolibarr.exemple.com/myinstancea)) and multiple databases (instancea, instanceb, instancec) But the configuration file fetched is always the one in htdocs.conf.  
Is there a way to get that to work ?  
Frriendly.

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [February 9, 2022, 8:25am UTC](https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830/2 "2022-02-09T08:25:52Z")

</div>

Hello,

Yes of course is possible to have multiple instances.

> [@laurenthdl](#):
>
> But the configuration file fetched is always the one in htdocs.conf.

Doesn’t understand this part… each instance load it’s conf from /conf/conf.php

---

<div class="post-metadata">

**Author:** ![laurenthdl](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/l/13edae/32.png) [@laurenthdl](https://www.dolibarr.org/forum/u/laurenthdl)\
**Post date:** [February 9, 2022, 6:52pm UTC](https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830/3 "2022-02-09T18:52:05Z")

</div>

Hello Ksar,  
Nice to meet you.  
So I guess I am missing something in my apache configuration. Since it fails to detect that setup is complete and I am stuck on the install last step.  
Could we arrange some meeting ? or would you mind pointing me some specific documentation about this topic ?

Best regards.

---

<div class="post-metadata">

**Author:** ![aljawaid](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/aljawaid/32/388_2.png) [@aljawaid](https://www.dolibarr.org/forum/u/aljawaid)\
**Post date:** [February 10, 2022, 10:19pm UTC](https://www.dolibarr.org/forum/t/multiple-instances-on-one-url-with-extension/21830/4 "2022-02-10T22:19:14Z")

</div>

I have:  
1 - `mydolibarr.com` for production… with one installation/database  
2 - `test.mydolibarr.com` for test version with one installation/database

the contents of `htdocs` are installled/uploaded to separate folders on the server and pointed with the correct dns settings and apache.

Just like i have to upload/install/run each dolibarr version on each subdomain, the data/database is also not the same.

Hope the above gives you some more information/ideas.
