yifeiyin / BACKPACK

Yifei's blog, coding notes, environment setup and settings, etc.
0 stars 0 forks source link

Trying to configure my raspberry pi as a web server #16

Open yifeiyin opened 5 years ago

yifeiyin commented 5 years ago

link

Using Apache

yifeiyin commented 5 years ago

Update apt-get: sudo apt-get update

Install apache2: sudo apt-get install apache2 -y

yifeiyin commented 5 years ago

Now visit http://localhost/ on rasp or visit http://localip to view the default "hello world" page.


To be able to access website outside of the local network, it does require port forwarding. Here is another tutorial HOST YOUR WEBSITE ON RASPBERRY PI