How to install Magento on Nginx

Hi, Does someone know where to find a good tutorial how to install magento on Ubuntu 14.04 with LEMP?

My problem is that whatever I do I get a 404 when I try to install magento.

  1. I unpack magento to my www directory. 2. Give it correct permissions (755 for directories and 644 for files). 3. Hit my IP adress in the browser. 4. Gives me a 404.

I tried to create other files and place them in the same directory as magento install.php and they work just fine… for instance the info.php file with information about PHP works just fine. I follow this guide, but it’s from 2012, maybe it’s not up to date?

its really easy to install Magento on Apache, why so complicated on nginx? Maybe I’m just missing out something obvious here…

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi Follow the instruction given in the below link:

I too had the same issue and got fixed it. Hope this helps.

Regards, Dinesh Arumugam

Can you post your nginx domain configuration please?