Results 1 to 10 of 10
03-11-2007, 05:45 PM #1OCcsdudeGuest
Hosting My Own Website - New to all this
Anyway, spring break is coming up, and one project that sounds interesting to me is hosting my own website. I want to do everything (within the realm of possibility) myself and setup all the hosting myself and not pay some company for webspace or a server. I imagine I may have to pay my ISP a little for IP's and things which are necessary for me to do this, but basically I want to be the complete master of my website/server. I was wondering if you guys could help me out doing this.
What should my server computer have? The website I want to make will be very simple and hold nothing more than pictures and text and some programs I have made in C++ (.exe's, <1mb each) in simple html. It will basically be a "myspace" or "blog" of sorts for me but will also go into detail about some 3d graphics engine projects and other interesting things I work on. Thank you for any help. I appreciate it a lot.
What's the first step or things I should know?
EDIT: I just realized that I may have put this thread in the wrong place. Please move it if it would be better somewhere else.
03-12-2007, 08:44 AM #2Jim2MacsGuest
Hi OCcsdude, I'm guessing the way you wrote your post that you want to have your server at your house? Am I correct? If so, I would normally advise against it. The cost involved and the extra work most people don't take into concideration is a lot. Plus, many ISP's just won't allow it. That said, it seems like you want this for more for practice, to expand your knowledge and experience. If I'm even remotely right, then go a head and try it. You'll learn a lot, just remember, it will cost you a lot more money then just going with a host. If I read this wrong, sorry, but if not, make sure you keep us informed on how everything goes.
03-12-2007, 09:33 PM #3OCcsdudeGuest
You read right Jim. Thanks for the quick reply. Well, I do have a pentium 3 733mhz/128mb/xp home computer I can use as the dedicated server, and I have Time Warner Cable and Verizon DSL to choose from (will probably go with the dsl connection through a router and will use the computers on the cable connection for testing the server from the outside). I am going to follow this guide:
(link to boutell guide once I get 5 posts and have permission to post links)
It's the best guide I have found so far. Right now I cannot start because I have finals next week to study for, but during spring break I am going to start the project. Do you think any extra monthly costs will be involved? If so, what could the costs be for and how much more am I looking at? I definitely don't want to pay more than $10 or so in additional monthly costs. Anyone out there who has done this want to share some figures?
03-27-2007, 06:00 AM #4
- Join Date
- Mar 2004
If you want to host your website on a home-hosted server, you first need to check your ISP's TOS if it's allowed to do this. A lot of ISP's simply do not allow it (as already mentioned) and will block ports below 1024. Since the standard port for HTTP traffic is 80, people won't be able to connect to your web server.
You will also need a hostname for your website, because nobody is going to want to remember an IP address Because a hostname points to an IP address you will also need a static IP address. Most ISP's offer this for an extra fee, but if you don't look into this the chances are that you have a dynamic IP address. Using services such as DynDNS.org and ZoneEdit.org it is - in theory - possible to host a server if you have a dynamic IP assigned. In this case you can install a small script/application on your server that will update the IP entry for your hostname everytime your IP changes. Though it's not recommended: a static IP is a must. You can get free hostnames (mostly subdomaims) like MyCoolWebsite.DynDNS.org at www.dyndns.org and www.zoneedit.org. If you want your own .com, .net, .org, ... domain name you will have to register it and point the nameservers of the domain to ZoneEdit. ZoneEdit will then take care of the DNS requests when someone tries to visit your website, and it will return your server IP address to the visitor so his browser can make a connection to your server. You can buy domain names on www.godaddy.com for something around $8 per year. If I recall correctly they currently sell .info domain names for $0.99 per year (can't buy a beer for that ).
Ok so now you have a connection to the Internet with a static IP address and a (sub)domain pointing to that IP address. Next, you will need to install software on your server. The first thing you need to decide is: Do you want to run Windows or Linux on your server? If you do not have any experience with Linux I suggest starting out with Windows 2003 Server since it will be a lot faster and will require less research/studying. In case you have some experience with Linux (or in case you want something challenging but stable) you can try one of the many Linux distributions out there, such as: CentOS, openSUSE, Fedora, etc.
Once you have your operating system installed you'll have to install the web server software and maybe also support for scripting languages such as PHP or ASP if you want to host dynamic web sites (such as: forums, blogs, guestbooks, etc). If you use Windows, it's not that hard: You can easilly install IIS, etc from within the operating system (ISS is shipped with Windows 2003 Server). For Linux, you can use Apache or Lighttpd. If you're not experienced I suggest installing XAMPP, which is basically an "all in one" web server package which will install: Apache (the HTTP server), MySQL (a database server mostly used in combination with the PHP scripting languages in order to host blogs, etc), PHP (and some nice modules for PHP), etc. Check the XAMPP website for more information:
Once you have a web server up and running you can upload a web site to it using FTP for example.
It's possible that you have a router at home, which means that if you connect your server to that router, you will need to use NAT (Network Address Translation) in order to forward connections to port 80 from the Internet to your web server. On most routers this can be done via the web configuration interface and the feature is called something like "Forwarding". In case you do not have a router and you connect your server to the Internet directly, you won't have to do this, but in this case I recommend installing a firewall on your server (in the other case, the router will function as firewall).
Ok now you have some more technical information on what it takes. I recommend doing some research on the Internet on the topics I've mentioned. To run a decent web server you'll need to know something about:
- What an IP address is
- What DNS is and how it works
- How routers work (might not be necessary but still recommended)
Searching for these keywords on Google and Wikipedia should give you lots of information. After doing some reading, feel free to ask if you have any questions. I hope you understand that I could go into detail on all the things I've mentioned (Linux, DNS, Apache, Networking/Routing, etc) but then I would have to type out about 10 books.
03-28-2007, 08:07 AM #5
- Join Date
- Dec 2006
Good info. Thanks.
03-29-2007, 03:35 AM #6
- Join Date
- Sep 2006
Yes, agree it's valuable, but the whole process of hosting your site on your home computer seems too complicated, I'd rather go with the hosting company.
03-29-2007, 11:40 AM #7
Originally Posted by BriaN
- Join Date
- Mar 2004
04-24-2007, 06:40 PM #8ZaxiGuest
Even the thread is quite old,i want to say 2 things.
First if your isp blocks the 80 port(main h**p port) you can use the 8080
And finally you can go with a simply vps with low bugdet!
05-08-2007, 05:26 AM #9surfspeedy.comGuestOriginally Posted by BriaN
05-19-2007, 08:09 AM #10john_carmelGuest
just log it on planetonline
hi dear, u can host ur website from Planetonline its really simple and best method of hosting a website ..just try it on