<p>You need to point your webserver to the <code>public</code> directory as stated in the docs <a href="http://buildwithcraft.com/docs/installing#step-1-upload-the-files" rel="nofollow">here</a>. So in your case that would mean setting your vhost to point to: <code>User/me/www/Craft-2.3.2644/public</code>.</p>

<p>In that public folder you will find an <code>index.php</code> file, which tells php where Craft can be found, by default (which yours is) that will be <code>../craft</code>.</p>

CC BY-SA 3.0
2015-05-11T14:05:16.530Z
2015-05-11T14:05:16.530Z
Josh Angell
<p>My file structure is:</p>

<pre><code>User/me/www/Craft-2.3.2644/
</code></pre>

<p>I am using MAMP and MAMP Points to this folder as my 'server root'.</p>

<p>Everything inside and including my web root has 777 permissions.</p>

<p>Inside this folder are three items:</p>

<pre><code>craft/
public/
readme.txt
</code></pre>

<p>I have a MySQL database:</p>

<pre><code>Domain: localhost
User: root
</code></pre>

<p>I have pointed the db.php file to my server, with 'root' as the password.</p>

<p>My index.php file in my public folder points to <code>../craft</code> which reroutes to <code>/app/index.php</code> (a file that does exist in that location).</p>

<p>The most positive result I can get when surfing to <code>localhost/public/index.php</code> is a message that reads as below...</p>

<blockquote>
  <p>Page not found</p>
  
  <p>What’s worse, a hilarious 404 page can’t be found either.</p>
</blockquote>

<p>With any other permissions I cannot access the folder because I'm not allowed (oops message).</p>

<p>And with any other mapping in the index file I receive a message:</p>

<blockquote>
  <p>File not found</p>
</blockquote>

CC BY-SA 3.0
2015-05-11T15:17:16.720Z
I'd recommend naming your project folder something besides `Craft-2.3.2644`... Craft is incredibly easy to update, and likely won't stay at that version number for long. Instead, you'll probably want to change the folder name to reflect the **specific project** you're working on.
Lindsey D
<installation><setup>
"Page not found. What’s worse, a hilarious 404 page can’t be found either."
# "Page not found. What’s worse, a hilarious 404 page can’t be found either."

(Asked by: username_0 on 2015-05-11)

My file structure is:
User/me/www/Craft-2.3.2644/

I am using MAMP and MAMP Points to this folder as my 'server root'.
Everything inside and including my web root has 777 permissions.
Inside this folder are three items:
craft/
public/
readme.txt

I have a MySQL database:
Domain: localhost
User: root

I have pointed the db.php file to my server, with 'root' as the password.
My index.php file in my public folder points to ../craft which reroutes to /app/index.php (a file that does exist in that location).
The most positive result I can get when surfing to localhost/public/index.php is a message that reads as below...

Page not found
What’s worse, a hilarious 404 page can’t be found either.

With any other permissions I cannot access the folder because I'm not allowed (oops message).
And with any other mapping in the index file I receive a message:

File not found

**Tags:** installation, setup
> **Comments:**
> **username_1**: I'd recommend naming your project folder something besides `Craft-2.3.2644`... Craft is incredibly easy to update, and likely won't stay at that version number for long. Instead, you'll probably want to change the folder name to reflect the **specific project** you're working on.  

---

## 1 answers

### Answer by username_2 on 2015-05-11. Score: 2 | Accepted answer

You need to point your webserver to the `public` directory as stated in the docs [here](http://buildwithcraft.com/docs/installing#step-1-upload-the-files). So in your case that would mean setting your vhost to point to: `User/me/www/Craft-2.3.2644/public`.

In that public folder you will find an `index.php` file, which tells php where Craft can be found, by default (which yours is) that will be `../craft`.


---

