Page 1 of 1
Raspberry Pi Apache2
Posted: Tue Aug 14, 2018 2:32 pm
by Tbot1001
Hello, I am following this guide:
https://www.raspberrypi.org/documentati ... /apache.md
and I have used
http://localhost/ on the pi like it says you can, and it works, but I am not sure of how to connect to it from another computer. Thanks!
Re: Raspberry Pi Apache2
Posted: Wed Aug 15, 2018 3:57 pm
by knute
You can use the server Pi's IP address. If for example your Pi has an IP of 192.168.1.2, on your desktop (on the same network) put 192.168.1.2 in the address line of your browser and it should display your web page. You can try that on your Pi as well.
Re: Raspberry Pi Apache2
Posted: Wed Aug 15, 2018 4:07 pm
by tpyo kingg
Some routers will let you assign a permanent IP address inside the LAN so you can always find the machine. Still other routers allow you to even also assign a local name so you can address the RPi by name not just number.
Re: Raspberry Pi Apache2
Posted: Wed Aug 15, 2018 5:07 pm
by WillBoxOwO
You can get your local Pi's adress with this command (if im not mistaken)
Access the given adress on another device that is on the same network as your Raspberry Pi.
If you want to be able to access your website outside the network, you can look at port forwarding tutorials for your modem.