<p>CP_PANEL environment variable needs to be set to the same as your current Valet URL</p>

CC BY-SA 4.0
2022-03-02T04:42:51.637Z
2022-03-02T04:42:51.637Z
lopu
<p>I've just tried setting up a project locally which we have deployed on a Laravel Forge server.</p>
<p>After I ran <code>composer install</code>, <code>craft setup</code>, and then <code>craft project-config/apply</code></p>
<p>And try visiting my <a href="https://site.test/admin" rel="nofollow noreferrer">https://site.test/admin</a> URL, setup through Valet.</p>
<p>I just get Template not found: admin</p>
<p>This doesn't really make sense because admin isn't a template right?</p>
<p>Any idea what might be going on here?</p>

CC BY-SA 4.0
2022-03-02T03:19:16.440Z
Is it possible that you're using a different `cpTrigger`? Can you take a screenshot of the error?
Lindsey D
CC BY-SA 4.0
2022-03-02T04:42:28.787Z
Yes it was an incorrect url on CP_PANEL
lopu
<craft3>
Template not found: admin
# Template not found: admin

(Asked by: username_0 on 2022-03-02)

I've just tried setting up a project locally which we have deployed on a Laravel Forge server.

After I ran `composer install`, `craft setup`, and then `craft project-config/apply`

And try visiting my <https://site.test/admin> URL, setup through Valet.

I just get Template not found: admin

This doesn't really make sense because admin isn't a template right?

Any idea what might be going on here?

**Tags:** craft3
> **Comments:**
> **username_1**: Is it possible that you're using a different `cpTrigger`? Can you take a screenshot of the error?  
> **username_0**: Yes it was an incorrect url on CP_PANEL  

---

## 1 answers

### Answer by username_0 on 2022-03-02. Score: 3 | Accepted answer

CP\_PANEL environment variable needs to be set to the same as your current Valet URL


---

