Change Main URL Root

Hey everybody!
I’m completely new to Dolibarr, I’ve set it up as instructed with the default installation but I’ve associated the url with the IP of my server since I didn’t have a DNS record set for that yet.

I have it now and would like to change the http://server_ip/dolibarr to http://my.doma.in/ (also removing /dolibarr) but I configured most of the interface already, thinking it would be easy to change that detail later.

I tried from apache conf but turns out resources (CSS and JS) are still looked for in http://server_ip/dolibarr

I then saw this:
but also saw it is not meant to be manually changed.

Any clue how I could procede? It may be super easy but the solution doesn’t come to my mind!

Thanks in advance!

This is the file you’ll want to edit. /dolibarr/htdocs/conf/conf.php

2 Likes

There obviously was a missing link in the OP, which is this one, in which it was stated:

I happened to find the page directly from Google, only later realizing it was targeted to developers, so programmatic access to the code.

Anyways Withheld thanks for the hint. In my case it was in a different path (/etc/dolibarr/conf.php in case anybody needs it) but it helped to know I could edit that!

Cheers!

hello,
i edited this file and it still didnt work… anyone figured out how to do this yet?

Try reinstall by going to http://localhost/dolibarr/htdocs/install, then choose fresh install option.
Next you can change the configuration and the database will remain intact.