How can make a webserver for commercial use ?? I have following requirements :: Pentium 4 3.0 GHz PC with 1 gb ram 160 GB HDD GBPS Lan card XAMPP Software cPanel/WHM Fedora OS Dedicated IP diesel backup generator DNS Software Leased Line >> http://www.bsnl.co.in/service/mlln.htm is this essential is there anything else is remaining ? Anyone can share your ideas here. Thank You
Is there a reason for xampp? You may be better off installing the components separately rather than a package as sometimes these easy to install one stop shops hide the complexity of a package that as a web host you will need to know about. Also you may want to consider using CentOS rather than Fedora, as CentOS is basically Red Hat Enterprise, is a more server orientated version of Linux than Fedora. Also can you get Co-location rather than getting everything yourself, not sure what its like in India, but here in the UK, renting rackspace and putting your own servers in, tends to be easier as the data centre tends to have big pipes, backup generators etc already in place. If you do have to have it all done your self, some kind of dedicated line is essential yes. Would say the server you've speced is under powered though (Says the person who runs all their sites on an old dual P3) would certainly recommend dual processor though, also what kind of redundancy will you have? Do you have hotswap RAID drives, so a hard drive can fail and the system will carry on, and with hotswap you can change it out without taking the system down. If so do you have at least 1 spare drive. Do you have dual power supplies so if one fails the server keeps on going etc. Do you have a backup device (Such as tape or off site) so if everything does fail and at some point it will you can rebuild quickly. Do you actually test said backups, a backup that wont restore is no use at all. If you going to spend a small fortune doing this you may as well do it right first time. You may be able to get away without a hardware firewall, although its not really recommended, so you will need a hardware firewall, Checkpoint tends to be popular for commerical use, or you may be able to get away with a open source Linux one such as Smoothwall or IP Cop. Jen
Thankx JennIP , Well Now i want to do this for my educational purpose. I know rackspace, but they are very expensive I just want to know how the web hosting concept runs in reality. Thats why i want to have my own web server not for "Commercial " use but for Personal or you can say Educational Use. Whats the next procedure ? I have Netgear WGR 614 v9 wifi router .... Internet line is connected to router and then goes to my PC What changes i have to do ? I already have this subdomain pointed at my PC, but god knows why, its not working ankur0101.homelinux.com
Ahhh your original post said commerical use. Right makes things easier, so if you just want to see how everything works, you can do it all very easily. You can skip the static IP, and use a service like EveryDNS to give manage your DNS, so you can point any of your domains to your dynamic internet IP and put a piece of software on your server to update the DNS every time your dynamic IP changes. You can use any internet source, IE ADSL however some ISPs block port 80 (Needed to run web servers). The Netgear router should be fine, I used one for ages when running webservers at home. So what I do is first get it working internally (May need to add entries to your host file), once that works, get the external parts working. A few things you may need to check 1) Have you forwarded port 80 on your router to the INTERNAL ip of your server? I would imagine your running NAT internally giving your server an IP address of 10.something or 192.168.something, you need to tell your router to route traffic for port 80 to a machine on your internal network. 2) You may not be able to access your server using its external name, IE ankur0101.homelinux.com may not work locally but may work remotely (Just tried it and it doesnt at the moment) 3) Ensure the external IP of your router is the same as entry in DNS. The whole process isnt difficult, but does have loads of little things that can trip you up and have you tearing your hair out for ages. Jen
Yes.i have done whatever you told. And its working FINE I am in Mumbai india I saw ankur0101.homelinux.com from USA proxy server IE youhide Thank you sir, thank you very much But i dont have my own DNS for this sub domain, i am using www.dyndns.com service. What i have to do if i want my own domain like example.com pointed at my PC with my own name servers like dns1.example.com and dns2.example.com
I dont have Hardware firewall, so in case what i have to do to secure my PC ? I have paid Kaspersky antivirus 2009
Right I see you are using Windows rather than Linux in your original post. Your router as long as only port 80 is open will be enough firewall, but is always a good idea to run some kind of remote port scan, although leaving the windows one on or any other one you have installed will be fine. Just beware, your now letting the world have access to your PC, no matter how secure your webserver software is hackers may still find an way through, then they have access to your whole machine, so be careful storing personal items on the same PC as a public webserver. Dyndns will be fine, its a great service and I still use it for some of my domains, EveryDns does the same thing just free. As for running your own DNS in the future, you can either use DynDns or something like EveryDns, use them as the nameserver and to run your DNS, its just hassle you don't need. Glad its all working for you though. Jen
What about bandwidth ? I am having internet speed of 256kbps. Did you open my link ? Please do so ... Please tell me how much time it takes to open page at your place ...
Actually it wasn't bad at all, considering its coming all the way over to the UK. You may want to look at http://ankur0101.homelinux.com/security/index.php Its showing a few things you may want to be aware of. As for the bandwidth you may want to enable HTTP compression (It may already be so, but my usual checker cant see your page). Jen