loading

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)

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.

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:
https://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:
https://www.instructables.com/id/Use-ssh-to-talk-with-your-Raspberry-Pi/

My Raspberry Webserver can found here:
http://213.65.123.101/qr - a QR Business Card generator.

http://213.65.123.101/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:
https://www.instructables.com/id/Digital-business-card-in-your-iPhone-smartphone/

Good luck, and may the Pi be with you!

<p>Wow, thanks for the help!</p>
<p>This is to allow a setup with pi and a standard router and be able to create a standalone webserver?</p>
<p>Yes Port5, your pi should be accessible from the internet if you follow the instruction. Did you succeed? </p>
F&ouml;rsta svensken jag sett p&aring; Instructables! :D<br><br>First sweed I've seen on Instructables! :D
<p>Medlem sedan Feb 27, 2009!</p><p>Gott Nytt &Aring;r!</p>
<p>Haha!</p><p>Veteran allts&aring;! ;)</p><p>Gott nytt &aring;r p&aring; dig med!</p>
<p>Yay! it works and stuff,</p><p>Can I use this to upload and download files?</p>
<p>Sure, it is small, but it is a server. If you only need to upload and dowload files, perhaps you are looking for a <a href="http://en.wikipedia.org/wiki/Network-attached_storage" rel="nofollow">NAS</a> ? But a Raspberry Pi is much more fun! ;)</p>
I like the simplicity of this instructable compared to others about setting up a server on the raspberry pi. It does not involve Mysql or other stuff i have no idea how to do yet. I am still waiting for my raspberry pi, probably getting one for christmas. Also ablut a raspberry pi laptop, check out this ible' <a href="https://www.instructables.com/id/LapPi-A-Raspberry-Pi-Netbook/" rel="nofollow">https://www.instructables.com/id/LapPi-A-Raspberry-Pi-Netbook/</a>&nbsp;
<p>Don't really need MySql for a webserver, but if you want to present anything more than just stationary html pages, MySQL comes in handy.<br>Should really give it a try :-) It is really not that bad.</p>
<p>diy_bloke: Your absolutly right, but perhaps PostgreSQL can be a good choice?</p>
Thanks emdarcher! Warms me in this winter times... <br> <br>Your (tip ?) instructable is a dream of mine, as you saw! RPi as a laptop, can it be cooler?! <br> <br>Cheers!
Yes Oakapi10, that is correct. But could you not use a Wi-Fi adapter then?
This will only work with RPI Model B.
My instructable is mentioned on the internet, I'm greatly honored!<br> <br> <a href="http://jaredestroud.blogspot.se/2013/03/raspberry-pi-projects.html?showComment=1370010406825#c3040379848934559523" rel="nofollow">http://jaredestroud.blogspot.se/2013/03/raspberry-pi-projects.html?showComment=1370010406825#c3040379848934559523</a>
1 k visits...Thanks folks! But not an awful lot of comments... Is really everything crystal clear? <br>
@amandaghassaei - Yes indeed! I see that you have done some cool projects with Arduino... Tip for you (and everybody else=) Why not make a laptop pi? Perhaps a bluetooth keyboard and a 7 or 11 inch screen? A dream of mine.
sweet! I've got to get going with the raspberry pi, so many awesome projects that could be done!

About This Instructable

119,506views

357favorites

License:

More by antares72:See the world as Bits Check who is at home! Home automation. Surveillance. Big Brother tech. Raspberry PI. Emergency supplies 
Add instructable to: