Instructables
Raspberry pi is a low cost development board by the raspberry foundation,for this tutorial i am using the distro provided by adafruit that can be found at http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/occidentalis-v0-dot-2 all you need to do is download the image and use WIN32 disk to burn the image on to the SD card. This tutorial is very different from rest and focuses on hosting a site from raspberry pi and make it accessible ONLINE (from anywhere in the world).
 
Remove these adsRemove these ads by Signing Up

Step 1: Connect via SSH

Now connect your raspberry pi to home router using a Ethernet cable. the ada-fruit image comes with SSH enabled so you can connect via SSH immediately.

now you should try to open a SSH session via putty to raspberrypi.local or the speccific IP address( if you have ur HDMI connected it should be there on you screen, or go to ur router config page(usually 192.168.0.1) and check for raspberry pi under DHCP). you can log in to the raspberry pi with user name :pi and password :raspberry.

Step 2: Setting up you rasberry pi

once you have a new installation there are a few things you should do to get things going, that includes expanding your root file system to fit the entire memory card and changing the user name and pasword. executing
sudo raspi-config
will take to to the config page where you can configure your PI.

This is a very clear, complete, and easy to understand tutorial. Excellent work!

Hey can u plz send me that tutorial? Am not able to get it.

e-mail : rahulr25@gmail.com

sajingeo (author)  Doug Paradis7 months ago

thank you...

Hi all, now I start Raspberry Pi collocation in heart of Europe, more info find here: http://raspberry-hosting.com/ Enjoy !

Would there be anyway for me to use a domain name that I have already bought on GoDaddy?

sajingeo (author)  cheesecurd18992 months ago

Yes you should be able to do it, by editing your CNAME from your control panel and setting it to your HOME IP / no-ip domain name

you’re referring to GoDaddy's admin area (or any other provider), correct?

rtdubbs25 days ago

completed without a hitch. fantastic! thanks!

Veziax3 months ago

I've done every step but when I type in my domain on Firefox it cannot connect... What's the problem?

sajingeo (author)  Veziax3 months ago

hi, is it working when you type in the IP address in the browser? is the Pi on the same subnet as your PC? did you edit the /etc/apache2/sites-enabled/000-default to allow all IPs

Veziax sajingeo3 months ago

My /etc/apache2/sites-enabled/000-default allows all IPs (I changed "AllowOverride None" -to "AllowOverride ALL".) but it doesn't work.I don't wich subnet on my Pi is good so here's a pic

Subnet.PNG
Veziax Veziax3 months ago

I dont know wich subnet*

cyiangou21 year ago
hey, I am trying to run adafruit on my raspbbery but this is not respond.
Actually I download adafruit and used win32disk to write in in my SD card.
Then I put SD card in raspberry pi but its not respond. Why?
Thank you very much please help me
gbrand cyiangou25 months ago
I had the same problem. It is the ram on the Pi. The adafruit image requires a Pi that does not have HYNIX ram. You can try to simply run any debian image for the Pi, since it has the enable SSH option during first startup and setup. Worked for me.
sajingeo (author)  cyiangou27 months ago

try another card, or check if the Lock swirch is enabled on the card

matthew99997 made it!7 months ago

Clear & concise instructions. I've previously tried to get my Raspberry Pi set up as a web server by following instructions I've found in a book I purchased and a different web site, but none ever worked. This one works great, thanks!

MaxPower.jpg
sajingeo (author)  matthew999977 months ago

thank you...

donmatito1 year ago
This is such a great tutorial !! Thank you a lot. Furthermore, I have added another port redirection to my server (weird number like 9562 to 22) so that I can also log in SSH to my raspi. So great !
sajingeo (author)  donmatito7 months ago

thats a good idea!!

nice, are there restrictions on the types of pages you can host? basic html? or is css/javascript/etc ok too?
sajingeo (author)  amandaghassaei1 year ago
u can Host most .php and HTML(and CSS) files, but if you are using functionality like cgi- , or curl you will have to add those modules too, to your installation. Yes basic java should work since it runs off your browser.
Nice site, managed to figure out the link to it :) Possibly the greenest server ever? Lol you should solar power it and say the entire site is powered from 100% green energy.

Maybe its time to get me a Raspberry Pi... I love pi :)
sajingeo (author)  astroboy9071 year ago
u should get one....maybe i will try solar for the next instructable....
sajingeo (author) 1 year ago
Thanks for the feedback...