Answers.Body: <p>Ended up the document root was looking for <code>var/www/html</code> instead of just <code>var/www</code></p>
  
  <p>This fixed it for me <a href="https://stackoverflow.com/a/23175981/851669">https://stackoverflow.com/a/23175981/851669</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-10-22T21:05:11.010Z
Answers.LastActivityDate: 2014-10-22T21:05:11.010Z
Answers.LastEditDate: 2017-05-23T12:38:53.957Z
Answers.UserDisplayName: Dan Christian
Body: <p>I am getting an Apache 404 page when trying to install Craft after following all instructions. I've run out of ideas. </p>
  
  <ul>
  <li><p>Set up a droplet running LAMP on Ubuntu 14.04 with <a href="https://www.digitalocean.com" rel="nofollow">Digital Ocean</a></p></li>
  <li><p>'craft' folder is sitting in public at <code>'var/www'</code> and <code>index.php</code> on
  the same level is pointing to <code>$craftPath = './craft';</code></p></li>
  <li><p><code>.htaccess</code> is running</p></li>
  <li><p>set folder permissions</p></li>
  <li><p>Created MySQL database with new user</p></li>
  <li><p>Updated <code>db.php</code></p></li>
  <li><p>Have tried <code>example.com/admin</code> and
  <code>example.com/index.php/admin</code> and
  <code>example.com/index.php?p=admin</code></p></li>
  </ul>
  
  <p>Have tried moving craft folder above root and updating <code>$craftPath</code> but with no luck. Not sure what else to try?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-22T19:47:47.030Z
Comments.Text: If it's an Apache 404, sounds more like a vhosts problem? Like domain.dev isn't pointing to `var/www` maybe?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-22T20:48:32.083Z
Comments.Text: Thanks. This solved it for me http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server
Comments.UserDisplayName: Dan Christian
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-10-22T20:49:21.590Z
Comments.Text: Nice.  Care to add that as an official answer?
Comments.UserDisplayName: Brad Bell
Tags: <install>
Title: Apache 404 on basic install
ThreadText: # Apache 404 on basic install
  
  (Asked by: username_0 on 2014-10-22)
  
  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](https://www.digitalocean.com)
  * '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?
  
  **Tags:** install
  
  > **Comments:**
  > **username_1**: If it's an Apache 404, sounds more like a vhosts problem? Like domain.dev isn't pointing to `var/www` maybe?  
  > **username_0**: Thanks. This solved it for me http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server  
  > **username_1**: Nice.  Care to add that as an official answer?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2014-10-22. Score: 1 | Accepted answer
  
  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>
  
  
  ---
  
  