# Website module, website root path

**URL:** <https://www.dolibarr.org/forum/t/website-module-website-root-path/30115>\
**Category:** Installing my Dolibarr\
**Tags:** Help\
**Created:** [March 19, 2025, 4:18pm UTC](https://www.dolibarr.org/forum/t/website-module-website-root-path/30115 "2025-03-19T16:18:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascalprogrammer](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/p/fbc32d/32.png) [@pascalprogrammer](https://www.dolibarr.org/forum/u/pascalprogrammer)\
**Post date:** [March 19, 2025, 4:18pm UTC](https://www.dolibarr.org/forum/t/website-module-website-root-path/30115/1 "2025-03-19T16:18:08Z")

</div>

Hello,

I’m a web developer and new with Dolibarr, but I like it.

I’m sorry, I speak a little English.

My problem:

I have a domain name with shared hosting. For example: [example.com](http://example.com)

The [example.com](http://example.com) domain root path is fix, I can’t modify:  
/home/user/public\_html

I installed successfully Dolibarr, the domain: [dolibarr.example.com](http://dolibarr.example.com)  
/home/user/dolibarr/htdocs (root path for this subdomain)

It works, fine.

I would like create website with Dolibarr module for the [example.com](http://example.com), but this path is not okay for me:  
/home/user/dolibarr/documents/website/first

I would like change this path to:  
/home/user/public\_html

How to or what are my options? I can’t change the root path for [example.com](http://example.com) domain.

Thank you.

---

<div class="post-metadata">

**Author:** ![pascalprogrammer](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/p/fbc32d/32.png) [@pascalprogrammer](https://www.dolibarr.org/forum/u/pascalprogrammer)\
**Post date:** [March 22, 2025, 12:22pm UTC](https://www.dolibarr.org/forum/t/website-module-website-root-path/30115/2 "2025-03-22T12:22:46Z")

</div>

Solved:

```auto
rm -r /home/user/public_html
ln -s /home/user/dolibarr/documents/website/first /home/user/public_html

```

---

<div class="post-metadata">

**Author:** ![AlianaHarry](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/alianaharry/32/8407_2.png) [@AlianaHarry](https://www.dolibarr.org/forum/u/AlianaHarry)\
**Post date:** [March 24, 2025, 7:26am UTC](https://www.dolibarr.org/forum/t/website-module-website-root-path/30115/3 "2025-03-24T07:26:37Z")

</div>

You might need to explore configuring a redirect or using an alias to point your main domain to the desired folder while keeping Dolibarr’s files separate.
