Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

18 Responses

  1. Pierre Colart says:

    I have a 502 bad gateway when i tried to go to

    • Aaron Kili says:


      This means that either:

      Nginx can’t connect with the upstream server, the PHP-FPM process, so check this fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; in your server block config.

      OR the HTTP service port 80 or HTTPS(443) is blocked in firewall.

      Try to view the Nginx logs: /var/log/nginx/error.log using cat or tail command.

  2. Bipin says:


    On my server Postfix (SMTP) and roundcube (IMAP) is install and running properly, but at certain instant of time ( say 1 in 50 attempts) when a user login to webmail (roundcube) then it show a error of “no input file” what could be the problem?

    Can anyone give me complete guide, how can i resolve this problem…

  3. Anton says:

    Hello, I have a question. Why exactly Nginx? Why not Apache?

  4. Zainab says:

    Reference Step 5. Unable to access I configured nginx.conf to use /var/www/html/ but i am getting 403 forbidden.

  5. Balbaki Moussa says:

    Hi ! thank for all.

    I have problem when i try to open from mozilla show that the site not exist.

    Help me please..

    • Aaron Kili says:


      Ensure that you have created a Nginx server block for the Roundcube under /etc/nginx/conf.d/ and configured it very well to serve requests using the address

  6. Andrea says:

    Very helpful thanks

    If you can please correct the typo: listen = /var/run/php/php-fpm.sock — should be: listen = /var/run/php-fpm/php-fpm.sock as php-fpm did not start for me otherwise.

    • Ravi Saive says:


      Thanks for notifying that typo, yes it should be listen = /var/run/php-fpm/php-fpm.sock as php-fpm, corrected in the article.

  7. Philip Rhoades says:

    A nice summary! I made my own preferential changes and installed Fedora RPMs but otherwise it was good!


Leave a Reply to Zainab Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.