How To Raspberry Pi

How To: Host a Website Accessible over the Internet on Raspberry Pi

A Raspberry Pi 3b+

Step 1 – Update Raspberry Pi Software

We first update the Raspberry Pi software, copy paste the below commands in terminal and press “Enter”.

sudo aptitude update && sudo aptitude upgrade && sudo aptitude dist-upgrade

You may need to type “Y” when asked for confirmation.

It usually takes  5-10 minutes for this complete depending upon your internet speed.

In Step 2 we will install NGINX.

6
Leave a Reply

avatar
3 Comment threads
3 Thread replies
3 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
VivekRehan HaiderGauravNathan Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Nathan
Guest
Nathan

Seems to be working but I’m getting an error “413 Request Entity Too Large” when I upload a theme.

Gaurav
Guest
Gaurav

I’m getting a”Error Establishing a Database Connection” error. How to fix?

Vivek
Guest
Vivek

Searched half the internet for a method to bypass carrier-grade NAT (CG-NAT) before finding your solution.

Although the auto-start causes occasional problems and doesn’t start.