Issue
I am running an apache web server on my Raspberry Pi that hosts a website. To get the IP address of the server i used ifconfig
and looked for the inet address under wlan0. I typed this address into chromium and reached /var/www/html/index.html
. I do not want to reach this file, instead i was hoping to configure the server so that the first site i reach is /var/www/test/index.php
.
How can i achieve this?
Solution
First, you need to change the document root of apache to point to the /var/www/test
directory.
For this I advise you to follow this explanation : https://askubuntu.com/a/738527
And then normally you will be able to access your page from other computers using the IP address of your PI.
Answered By - Flipo
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.