Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am in a middle putting a web server together on a CentOS machine and would like to know which web server to choose from between Apache, Nginx, CGI and FastCGI? My main concern is to have a fast Web Server that responds to inquiries quick. Does anyone have any suggestions? Thank you all.
CGI and FastCGI are protocols for executing scripts/programs on a web server, not servers themselves. I personnaly use Apache just because I've learned it fairly well and I know it (never jumped on the Nginx bandwagon). The right choice depends on a lot of questions you haven't answered, such as what is the expected traffic level?, are the pages mostly static or dynamic (using server side scripting)? if the latter, what scripting languages/tools are to be used?
Unless it's a very high traffic or performance critical site, I expect Apache and Nginx to both handle it fine.
Distribution: Debian for server, CrunchBang for everything that's not a server
Posts: 143
Rep:
Don't forget about lighttpd! I've heard good things about it, although I don't use it much myself. And here's an arstechnica article in praise of Nginx: link.
Thank you for your response. I decided to test the nginx on a local CentOS system and see the difference between Apache and Nginx. This is my first time running nginx and I need help. I noticed the public www on nginx located in /usr/share/nginx/html folder. Here is the message I get when I put 192.168.0.110;
Welcome to nginx on EPEL!
This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.
Website Administrator
This is the default index.html page that is distributed with nginx on EPEL. It is located in /usr/share/nginx/html.
You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf
I have my website php script and I want to upload it to the server. What should I do after upload to be able to run the script and install the script? I have looked at the content of this "You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf." and it is confusing for me to understand what needs to be done here. Can anyone help please?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.