Setting up hosting on your home computer
source: http://www.boutell.com/newfaq/creating/hostmyown.html
Free DNS Hosting:
There are many options, i went with ZoneEdit.com
- Sign up for ZoneEdit.com (also check out dyndns - not free tho)
- Add Zones
- Provide your zone (domain you want to use)
- Provide the ip address - your current home ip address
- Copy the nameserver addresses
- Contact your registrar (example: www.godaddy.com) and tell them to change the nameservers for your domain, or use these nameservers when you buy a new domain.
- You can do this on your own.
- log into godaddy
- domain manager
- manage domain
- update nameservers
Getting Apache server on your linux
source: https://help.ubuntu.com/6.06/ubuntu/serverguide/C/httpd.html
sudo apt-get install apache2
- configurations : /etc/apache2/apache2.conf
- The default page is taken from /var/www/
sudo /etc/init.d/apache2 start
Setting up dynamic DNS on your home computer
Why? Cause your home computer IP will keep changing each time to login to the network
- I'm using http://sourceforge.net/apps/trac/ddclient
- check out the code
svn co https://ddclient.svn.sourceforge.net/svnroot/ddclient/trunk ddclient
- go through the README file once downloaded
- follow the steps
- to start
/etc/init.d/ddclient start
/usr/sbin# ddclient -daemon=0 -noquiet -debug -ip=71.198.38.193
Getting your home router to give you a static IP
- log into netgear (or your router)
- Attached Devices (see whats attached already)
- Lan IP Setup
- Address reservation
- Provide the IP and the devices mac address and you're all set.
Notes:
- To check your current IP I used http://www.ipchicken.com/
No comments:
Post a Comment