Question:
How to build a web server?
Grégory
2011-04-23 19:32:21 UTC
What are the components of a web server?
What makes a good web server?
Five answers:
juliepelletier
2011-04-23 19:39:41 UTC
- powerful scalable hardware

- security equipment and software

- web server application such as Apache

- database engine such as MySQL

- scripting language engine such as PHP

- big upload bandwidth (5Mbps for sites with a few simultaneous users up to hundreds or thousands of Mbps if there is a real load)
?
2011-04-23 20:18:36 UTC
Before I answer your question, you should really know how a web server functions, in case you don't already. A web server works by "answering" HTTP requests from clients over the internet. The clients request for a certain file/webpage and the web server sends it back. So pretty much every time you visit a website or refresh a page, your computer is asking a web server somewhere in the world to send back a certain webpage.



Now, let's get to the basics of a web server. A web server is like any other computer, except it specializes in dealing with the internet and handling requests. The more requests, the more stress and load the machine will have to handle at once. This requires a lot of processing power, so it is important that you make sure you have a good processor. Most processors these days use the Intel Xeon line of processors. I'd recommend looking at the Xeon 3400 series, it's a great place to start. Next, you'll also be looking at RAM. Web servers need a substantial amount of RAM, around 4 to 8 gigabytes should be fine. As for hard drive storage, you're really not gonna need that much storage. A 250gb hard drive should be fine, unless you plan on allowing users to upload videos, pictures, etc. Then, you may need to expand to a SAN (storage area network) configuration, where multiple terabytes of information can be stored and accessed by your server. You should also consider getting a RAID controller and a second 250gb hard drive. What this does is make your hard drive setup redundant, where as when one hard drive fails, the other can pick up the slack and keep your system running. Speaking of redundancy, you should also consider a redundant PSU unit, in case the power in your house ever goes out.



Next, you'll be looking for software and an OS to run your system on. Most large enterprises use commercial versions of Linux, such as Red Hat or Novell SUSE. However, those cost thousands of dollars, and you have to renew a license (which costs a lot) to keep using them. Ubuntu, which is a very popular Linux OS also released its own version of Linux specifically for servers. Its a great place to start, and the best part is it's free. Next, there's all of that server-side scripting which you may find handy if you ever want to make a login database or something. Download XAMPP, which is pretty much a package of Apache (makes your computer work as an HTTP web server), PHP (Access databases, If / and functions, etc...Facebook uses it),MySQL (The most common database you'll find), PHPMyAdmin (Makes your life much easier), Perl (Kinda like PHP), and much more.



So pretty much, you need a server with a good processor with a good amount of RAM. You could look at IBM (mostly enterprise servers), HP (mostly high end, some better for beginners), or Dell (Much cheaper costwise). Remember, just keep in mind speed and redundancy. Redundancy is key to having no server downtime, or minimum downtime and speed will help you serve web pages faster. Then, install a Linux OS (Ubuntu server, it's free), and XAMPP to get started. Good Luck!
?
2016-10-18 14:29:37 UTC
properly, first you will might desire to port forward port eighty, i desire to advise cPanel for the administration panel, and XAMPP that's a kit that's ordinary to place in, which incorporates: Apache MySQL FileZilla FTP Mercury Mail. Abyss information superhighway server is an ok application and it has each and every thing in it, besides the shown fact that that's unprofessional.
Austin
2011-04-23 19:36:21 UTC
Try ubuntu server there is alot of support follow this tut http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/
?
2014-12-13 20:23:07 UTC
No es la primera vez que compra de aquí memorias RAM y siempre han cumplido mis expectativas, hace una semana he comprado una memoria RAM de 8Gb, en un solo modulo tengo la velocidad de respuesta que espero de mi ordenador, me he quedado impresionante de su rendimiento y todo por un excelente precio.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...