I am getting an Apache 404 page when trying to install Craft after following all instructions. I've run out of ideas.

  • Set up a droplet running LAMP on Ubuntu 14.04 with Digital Ocean

  • 'craft' folder is sitting in public at 'var/www' and index.php on the same level is pointing to $craftPath = './craft';

  • .htaccess is running

  • set folder permissions

  • Created MySQL database with new user

  • Updated db.php

  • Have tried example.com/admin and example.com/index.php/admin and example.com/index.php?p=admin

Have tried moving craft folder above root and updating $craftPath but with no luck. Not sure what else to try?

  • If it's an Apache 404, sounds more like a vhosts problem? Like domain.dev isn't pointing to var/www maybe?
    – Brad Bell
    Commented Oct 22, 2014 at 19:47
  • Thanks. This solved it for me stackoverflow.com/questions/5891802/… Commented Oct 22, 2014 at 20:48
  • Nice. Care to add that as an official answer?
    – Brad Bell
    Commented Oct 22, 2014 at 20:49

1 Answer 1


Ended up the document root was looking for var/www/html instead of just var/www

This fixed it for me https://stackoverflow.com/a/23175981/851669

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.