On the server computer, what is the address you put in the web browser to access Dolibarr ?
On the client computer, what is the address you put in the web browser to access Dolibarr ?
It seems a Vhost issue, could explain what do you put for Apache config and on which folder do you put dolibarr ?
as far as i remember the starting folder for webservices under Ubuntu is /usr/www/html. If you installed Dolibarr in a subfolder Dolibarr (so the whole foldername is /usr/www/html/Dolibarr) the user from another computer may get access to Dolibarr via http://<ip-address of the server, something like 192.168.0.100>/Dolibarr/htdocs. If you use a hoster it would be http://www.your-servername.com/Dolibarr/htdocs.
You mentioned that you added the folder “localhost”. That is just necessary if you call Dolivbarr from the computer where Dolibarr is installed. So you call Dolibarr from the Installserver with http://localhost/Dolibarr/htdocs.
What you have to enter as URL in the browser depends on the computer you are currently working on and on which server you install Dolibarr.
Hi Stefan, thanks for your feedback. I tried what you have said but still no result.
Hi ksar,I edited the apache2 conf file and I changed the below from none to all the highlighted.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
strange, but there are various possibilities of problems…
Do you get an error message when you try to access Dolibarr from an other computer ?
Can you ping the server from the other computer ?
Is there a firewall which prevends the server to be accessed ?
You can open Dolibarr via browser from the computer were Dolibarr is installed ? If yes, enter the complete URL in the browser of the other computerand substitute “localhost” with the IP of the server.
you seem to have an IP address problem. According to your log your Apache listens on 169.254…
This is a fallback IP on an unconfigured or not correctly configured interface. It’s configured for DHCP but does not get an IP.
Please try to fix that and post an updated apache log.
Thanks for your feedback, I will try to do what you have said and suggestion then will get back to you.
On the other hand, I tried to refreshed and configured my static address in my server and when I tried to ping my server from my client, it is unreachable.
Hi Deploy, i’ve been reading this thread and i think that you must to check first a couple of fits, that i must do when i have the trouble you have:
You must be able to do a PING from the client machine to the server machine: ping 192.169.XXX.XXX
Then, you must be able to get SIMPLY AN STATIC FILE (like an image) from the server on your browser: http://192.169.XXX.XXX/image.png (for example)
Usually the problem you have is regarding these 2 fits. Sometimes is a firewall or network issue, and sometimes is a bad Apache miss-configuration. Once you see the image.png you probably wil be able to make accessible Dolibarr (although obviously can be also other issues in the Dolibarr installation).
Last tip
During more than 15 years developing i like to configure my local Apache server and virtualhosts in this way, that i recommend to you:
In this way i’m able to call my site from browser using something more “human redeable” like:
https://te.me/index.php?.....
You need to do only another configuration in each machine trying to access this “home domain name”: add this line to your /etc/hosts file (in linux) or c://windows/system32/drivers/… /hosts (in win10):
127.0.1.1 te.me
Well, in the SAME MACHINE on you have installed the Apache, you must put the address 127.0.0.1 but in other machines of the LAN/WAN you must put the IP of the server to them, like: 192.168.0.5.
Currently, I managed to configure my network with static ip correctly mainly because I can be able to ping my server from my client and from my server to my client(vice versa)
Now, still I can’t access my dolibarr in my server. It says…
Unable to connect
Firefox can’t establish a connection to the server at 192.xxx.xxx.xxx.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox Developer Edition is permitted to access the Web.
I tried many url from my client but nothing happens
The server at 192.xxx.xxx.xxx is taking too long to respond.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer’s network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox Developer Edition is permitted to access the Web.
try to access the server without “127.0.0.1” (what very often is just the gateway to the internet) and “localhost” (what is just needed if you try to access Dolibarr from the server).
You should enter something like “http:/192.xx.xx.xx/Dolibarr/htdocs” as URL. Watch the upper and lower case, as i’m not sure whether the system is case-sensitive.