Website module, website root path

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

The example.com domain root path is fix, I can’t modify:
/home/user/public_html

I installed successfully Dolibarr, the domain: 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, 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 domain.

Thank you.

Solved:

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

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.