<p>Is a lot of potential reasons for what issue may be. Is Craft handling the 404 error? If not, it could be your server is not pointing to the web/index.php properly.</p>

<p>Can check that just putting a die('hello world'); at the top of your index file at least.</p>

CC BY-SA 4.0
2018-05-21T15:49:12.920Z
Thanks for your input here. I actually just sorted it after a few hours. basically I installed craft into the wrong directory. Still getting the hang of composer :)
Mark
CC BY-SA 4.0
2018-05-21T15:43:30.850Z
2018-05-21T15:43:30.850Z
sanscheese
<p>I'm attempting to update a craft 2 site to craft 3.</p>

<p>Following these instructions, I used composer to install Craft:
<a href="https://docs.craftcms.com/v3/upgrade.html#if-you-want-your-directory-structure-to-resemble-a-new-craft-3-project%E2%80%A6" rel="nofollow noreferrer">https://docs.craftcms.com/v3/upgrade.html#if-you-want-your-directory-structure-to-resemble-a-new-craft-3-project%E2%80%A6</a> </p>

<p>I have got to the stage where I go to the domain.com/admin but I am getting the error: </p>

<blockquote>
  <p>The requested URL /admin was not found on this server.</p>
</blockquote>

<p>Thanks for any help - at a dead end I am sure its something v simple!</p>

<craft3><error-message><404><updates>
Craft 2 -> 3 Update /admin 404
# Craft 2 -> 3 Update /admin 404

(Asked by: username_0 on 2018-05-21)

I'm attempting to update a craft 2 site to craft 3.

Following these instructions, I used composer to install Craft:
<https://docs.craftcms.com/v3/upgrade.html#if-you-want-your-directory-structure-to-resemble-a-new-craft-3-project%E2%80%A6>

I have got to the stage where I go to the domain.com/admin but I am getting the error:

> The requested URL /admin was not found on this server.

Thanks for any help - at a dead end I am sure its something v simple!

**Tags:** craft3, error-message, 404, updates


---

## 1 answers

### Answer by username_1 on 2018-05-21. Score: 1

Is a lot of potential reasons for what issue may be. Is Craft handling the 404 error? If not, it could be your server is not pointing to the web/index.php properly.

Can check that just putting a die('hello world'); at the top of your index file at least.

> **Comments:**
> **username_0**: Thanks for your input here. I actually just sorted it after a few hours. basically I installed craft into the wrong directory. Still getting the hang of composer :)  

---

