Thursday, October 8, 2009

Web Server in Linux

A web server provides ability or takes advantage of web based applications. In simple it is where a website physically resides. The softwares required are redhat, suse, fedora etc. Many versions of redhat such as 7.0, 8.0 etc can also be used. The webpages are directly served from the directory as configured by the document root directive. The apache may be configured to run as a host of a single website or it can also be configured to run multiple domains. This can be achieved in two ways such as Virtual hosts and multiple IP based virtual hosts.

First change the default value for server name. It is prudent to limit apache’s view only to necessary directories. It can be done by not granting access to everything but only grant access to necessary directories. The Apache web server allows to congfigure a single computer to represent multiple websites. This can be done in two ways such as name based virtual host and IP based virtual host. Once you do this your default system domain will stop working and the default domain must now be considered as virtual domain. There must be a limit on maximum number of clients who can simultaneously connect. If this limit is exceeded then the clients will be locked out There is no need to grant a shell account which allows only the user more potential security holes it can be included in the file when creating the user . The Chroot blind provides an extra security also. You can use a single Linux server to forward requests to a cluster of servers.

No comments:

Post a Comment