Raspberry Pi as webserver.

This instructable will only briefly show a way to enable webtraffic to your Raspberry Pi.
In the last step you'll find a guide to add the content.
You'll need:
1 Raspberry Pi
1 Router
1 Micro USB cable
1 Ethernet cable
(and of course an Internet connection)Raspberry Pi as webserver.

Step 1: Raspberry Pi as webserver – connect to router.

First you need to connect your Raspberry to your router.
Connect ethernet cable to a free Lan-port. (See picture above)
Connect Micro USB to router or if you have different cable, to your power net.
I'm also using a USB-hub and discstorage…

Step 2: Raspberry Pi as webserver – configure router.

To enable access to your Raspberry Pi you need to enable traffic to it.
Steps:
1. Log in to your router.
2. Check current ip.
Under Attached devices check your current ipaddress for your Pi.
3.Lock current ip to your Raspberry Pi.
Under LAN-setup Add an address reservation for your Pi.
4. Configure asDMZ-machine.
Under WAN-setup Enter current ip and enable as Default DMZ Server.Raspberry Pi as webserver. schematic

Step 3: Raspberry Pi as webserver – Setup webserver.

Now you'll need to add content to your webserver.

Here you can find a guide to setup and add content to your Raspberry Pi webserver:
http://www.instructables.com/id/Install-a-webserver-on-Raspberry-Pi/

If you are looking for a guide to use ssh to talk to your Pi, look here:
http://www.instructables.com/id/Use-ssh-to-talk-with-your-Raspberry-Pi/

My Raspberry Webserver can found here:
http://e-shoppa.se/qr – a QR Business Card generator.

http://e-shoppa.se/whoiam/ – all you want to know about what google knows about you.

Here you can find a guide on how you can use your QR business card:
http://www.instructables.com/id/Digital-business-card-in-your-iPhone-smartphone/

Good luck, and may the Pi be with you!

 

For more detail: Raspberry Pi as webserver.


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top