<p>Apparently I am "<em>to close to the painting</em>" here and completely missed a simple answer. In my case, I was going to the wrong URL completely.</p>

<p>Bad: <code>http://192.168.10.95/public/index.php/admin/dashboard</code></p>

<p>Good: <code>http://192.168.10.95/admin</code></p>

<p>As you can see, <strong><em>USER</em></strong> error here. Thank you for the assistance everyone!</p>

CC BY-SA 3.0
2017-03-14T16:06:21.837Z
2017-03-14T16:06:21.837Z
Michael Purvis
<p>OK, I have encountered the following issue:</p>

<p><strong>Issue:</strong><br>
 Admin page gets a Craft 404 page error; home page loads fine though.</p>

<ul>
<li>Home page: <code>192.168.10.95</code>
<a href="https://i.sstatic.net/RW8Wa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RW8Wa.png" alt="enter image description here"></a></li>
<li>Admin page: <code>http://192.168.10.95/public/index.php/admin/dashboard</code>
<a href="https://i.sstatic.net/aaw63.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/aaw63.png" alt="enter image description here"></a></li>
</ul>

<p>Clearly Craft is working, though I am not sure what is causing this to break for me. Any suggestions?  I can provide any information you may want to see, just let me know.</p>

<p>Thank you Craft friends!</p>

<p><strong>Edit 03/14/2017 @08:24 PST</strong></p>

<p>Here is the contents of my <code>/etc/apache2/sites-availavble/000-default.conf</code> file:</p>

<pre><code>&lt;VirtualHost *:80&gt;

ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

&lt;/VirtualHost&gt;
</code></pre>

<p>I have pointed my DocumentRoot to <code>/var/www/html/public</code>, though did I miss something in my configuration?</p>

<p>Thanks again Craft friends!</p>

CC BY-SA 3.0
2017-03-13T23:33:54.060Z
It looks like your document root is incorrect. It should point to the `public` directory, so the admin URL will be `http://192.168.10.95/admin`
Stephen Lewis
CC BY-SA 3.0
2017-03-13T23:43:02.353Z
Hello and thank you @stephen, are you referring to `/etc/apache2/sites-available/000-default.conf` OR `/etc/apache2/apache2.conf` ?
Michael Purvis
CC BY-SA 3.0
2017-03-14T14:13:58.540Z
The former. It should contain a [`DocumentRoot` directive](https://httpd.apache.org/docs/2.4/mod/core.html#documentroot).
Stephen Lewis
CC BY-SA 3.0
2017-03-14T15:38:06.400Z
@StephenLewis I believe I have that setup already, unless I missed something else in my configuration?
Michael Purvis
CC BY-SA 3.0
2017-03-14T15:42:32.220Z
So have you tried visiting `http://192.168.10.95/admin`?
Stephen Lewis
CC BY-SA 3.0
2017-03-14T15:47:07.927Z
Wowzers! No, I never thought to try `192.168.10.95/admin`; that's how I know I have been working to long on this project. Thank you for such a simple answer - at least for the 404 on the admin page.
Super sheepish feeling here. Thank you very much @StephenLewis !!
Michael Purvis
CC BY-SA 3.0
2017-03-14T15:54:41.170Z
No worries, glad you got it sorted.
Stephen Lewis
<404>
Craft 404 for admin dashboard
# Craft 404 for admin dashboard

(Asked by: username_0 on 2017-03-13)

OK, I have encountered the following issue:
Issue:
 Admin page gets a Craft 404 page error; home page loads fine though.

Home page: 192.168.10.95

Admin page: http://192.168.10.95/public/index.php/admin/dashboard


Clearly Craft is working, though I am not sure what is causing this to break for me. Any suggestions?  I can provide any information you may want to see, just let me know.
Thank you Craft friends!
Edit 03/14/2017 @08:24 PST
Here is the contents of my /etc/apache2/sites-availavble/000-default.conf file:


ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined



I have pointed my DocumentRoot to /var/www/html/public, though did I miss something in my configuration?
Thanks again Craft friends!

**Tags:** 404

> **Comments:**
> **username_1**: It looks like your document root is incorrect. It should point to the `public` directory, so the admin URL will be `http://192.168.10.95/admin`  
> **username_0**: Hello and thank you @stephen, are you referring to `/etc/apache2/sites-available/000-default.conf` OR `/etc/apache2/apache2.conf` ?  
> **username_1**: The former. It should contain a [`DocumentRoot` directive](https://httpd.apache.org/docs/2.4/mod/core.html#documentroot).  
> **username_0**: @StephenLewis I believe I have that setup already, unless I missed something else in my configuration?  
> **username_1**: So have you tried visiting `http://192.168.10.95/admin`?  
> **username_0**: Wowzers! No, I never thought to try `192.168.10.95/admin`; that's how I know I have been working to long on this project. Thank you for such a simple answer - at least for the 404 on the admin page. Super sheepish feeling here. Thank you very much @StephenLewis !!  
> **username_1**: No worries, glad you got it sorted.  

---

## 1 answers

### Answer by username_0 on 2017-03-14. Score: 1

Apparently I am "*to close to the painting*" here and completely missed a simple answer. In my case, I was going to the wrong URL completely.

Bad: `http://192.168.10.95/public/index.php/admin/dashboard`

Good: `http://192.168.10.95/admin`

As you can see, ***USER*** error here. Thank you for the assistance everyone!


---

