Setting up a web server

hazee

Distinguished
Jan 8, 2009
12
0
18,510
I am looking to setup a new web server (not in my home using port forwarding) in my office where I have to host a mission critical php/mysql application(just a database workflow driven application). I have to publish a URL for the customers over internet to login. At a peak time, a maximum of 50 to 100 concurrent connections are possible. I have a 2MB full duplex leased line with a static IP from service provider.

Is there any one who can provide a guide or a detailed summary or any input on setting up a new server starting from hardware to the final implementation of the web server. I know security is a big concern and I have a good budget to buy firewalls and IPS module.

I am open to suggestion of what OS and server should be used.

Any help is appreciated.
 
Solution
You want to use either FreeBSD or Linux. IIS is going to cost a lot more, for both software licensing and hardware, and will NOT perform as good using PHP and MySQL (those are what I'd recommend anyway). Each has been ported to Windows, but were made for Unix, and are much more secure on it.

As far as configuration goes, you really need a consultant. No matter what you choose there are going to be hiccups that are going to take time to resolve, and good luck finding someone to do it for free.


EDIT: added hardware specs for web server

For FreeBSD or Linux these are the hardware specs I'd use. Keep in mind I wouldn't install an X server either; a command line install only:
CPU: newer dual core Celeron (you do not need a super...

rdc363

Distinguished
Apr 12, 2010
141
0
18,690
You want to use either FreeBSD or Linux. IIS is going to cost a lot more, for both software licensing and hardware, and will NOT perform as good using PHP and MySQL (those are what I'd recommend anyway). Each has been ported to Windows, but were made for Unix, and are much more secure on it.

As far as configuration goes, you really need a consultant. No matter what you choose there are going to be hiccups that are going to take time to resolve, and good luck finding someone to do it for free.


EDIT: added hardware specs for web server

For FreeBSD or Linux these are the hardware specs I'd use. Keep in mind I wouldn't install an X server either; a command line install only:
CPU: newer dual core Celeron (you do not need a super computer..... I worked at an ISP hosting about 3 dozen domains on an old celeron)
CPU Cooling: a good heatsink for maximum reliability
Storage: about 500GB 7200RPM w/ 32MB of cache this way logs will never fill up the HD and crash the server; with 32MB cache and 7200RPM we have plenty of performance) and I'd even put in a fault tollerent RAID array to minimize downtime in the event of a crash.
RAM: 4GB RAM (1 - 2 would work so we want to double for reliabilities sake)
Video card: anything with reliable linux support that runs cool.
Nic: no wireless you want a good 3com NIC, don't skimp here and don't use wireless; reliability is key and and no network connection equates to downtime.
Cooling: a few quality 120mm case fans, heat is an enemy that ca cause downtime.

OF course if your budget is higher you could get a better CPU and more RAM, but I considered cost as a factor. And actually a quad-core 64-bit AMD Phenom X4 at 3.0Ghz would be a better CPU, too.
 
Solution

hazee

Distinguished
Jan 8, 2009
12
0
18,510
thanks rdc363 .. it was helpful and a bit of a shock that a dual core celeron can serve 3 dozen domains :s

I am trying to find some one to do it for free, but I can not .. and installation charges from consultatns are almost the same as hardware cost.

A basic diagram of the network setup and some instructions on the security concerns will be enough helpful for a start. Further it can be enhanced over the period of time.

I will get the domain and DNS service from the service provider along with a static IP and a leased line.

Any help is appreciated.
 

rdc363

Distinguished
Apr 12, 2010
141
0
18,690


w/o any backend processing, GUI interface, or SSL Apache is fairly efficient. http://www.everymanhosting.com/hosting/ It looks like they've upgraded to multiple Core 2 Quads's now.
 

hazee

Distinguished
Jan 8, 2009
12
0
18,510


What do you think about Ubunto server edition?

 

gtvr

Distinguished
Jun 13, 2009
1,166
0
19,460
Security should be your #1 concern. Any hacker who can find a web server facing the internet will use a wide variety of tools and exploits to steal your data. How much would it cost you if the database was hacked and the information stolen? What if the hacker threatened to go to all of your customers, that they got from the database, and tell them you were hacked, unless you send them $5000?

You may also want to consider a hosted solution, if they provide security / monitoring of your site.
 

Latest posts