website in nginx tutorial not found

  • Posted on February 16, 2013
  • mottemailAsked by mottemail

The Digital Ocean tutorial “How to Install nginx on CentOS 6 with yum” lists a command containing a website: sudo su -c ‘rpm -Uvh

The command failed at the command line and gave a 404 error.

I verified that by going to the site directly:

That produces a 404 Not Found error (nginx/1.2.4).

Does anyone know the correct location? Also, is this step still necessary if I have already installed the LAMP package for Centos (following the digitak Ocean tutorial “How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6” article)?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


First Header Second Header
Content Cell Content Cell
Content Cell Content Cell


It’s not binding because something else is already using that port. You need to check what else is running see what it may be. <br> <br>On a side note, I recently had nginx do this because of a setting which seems to have changed in recent nginx versions or something (i havent looked in to it) it was caused by having two lines in nginx, one for ipv4 bind all and one for ipv6 bind all. This seems to have become auto both so only one line was necessary. You could check your nginx config.