After thourough testing, I have uploaded dolibarr on a webserver. It woked all fine apart from one thing.
When call the website adress .E.g: www.test.com, I get the page where all the folders the root folders are listed, then I have to go to htdocs in order to get the login screen. My question is how to get the login screen right when I call the website? or do I have to re-istall everything from scratch and make my root directory as the installation point?
only the files contained in htdocs are useful, you can copy the contents of the htdocs directory in the root of your web site. (edit conf.php file accordingly).
directories that are at the same level as htdocs (dev, build, etc. …) are only documentation or other.