<p>Web is the public web folder if you followed the recommended install location, so the link to login is just /admin, i.e.</p>

<p><a href="http://your-domain/admin" rel="nofollow noreferrer">http://your-domain/admin</a></p>

CC BY-SA 4.0
2018-12-21T16:23:51.457Z
Sorry, i didnt included all info in my post - default craft template that displays after installation is displayed correctly, so url is correct.
Ded Nolyxeux
CC BY-SA 4.0
2019-04-09T05:45:34.683Z
Thanks this worked for me, first time install. Looks pretty neat!
Nathaniel Flick
CC BY-SA 4.0
2018-12-21T15:24:25.473Z
2018-12-21T15:24:25.473Z
Seth Warburton
<p>After installing craft on apache server, when I try to access control panel using <code>web/admin</code>, serwer throws 404 error.
I didnt changed <code>cpTrigger</code> setting. Default craft template that displays after installation is displayed correctly.</p>

<p><code>.htaccess</code> file in <code>web</code> directory was not modified in any way, its contents are default:</p>

<pre><code>&lt;IfModule mod_rewrite.c&gt;
    RewriteEngine On

    # Send would-be 404 requests to Craft
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
    RewriteRule (.+) index.php?p=$1 [QSA,L]
&lt;/IfModule&gt;
</code></pre>

CC BY-SA 4.0
2018-12-21T10:33:55.170Z
Are you running nginx? What is your nginx config?
Jørgen
CC BY-SA 4.0
2018-12-21T10:35:52.373Z
Apache, just updated my post.
Ded Nolyxeux
CC BY-SA 4.0
2018-12-21T10:38:59.943Z
Does `web/.htaccess` exist on the server?
Jørgen
CC BY-SA 4.0
2018-12-21T10:45:31.973Z
Yes, it does, it was not modified in any way. Updated my post.
Ded Nolyxeux
CC BY-SA 4.0
2018-12-21T10:46:56.750Z
What happens if you navigate to `yoururl.com/index.php?p=admin`?
Jørgen
CC BY-SA 4.0
2018-12-21T10:52:11.090Z
It redirects to web/admin/login, but error 404 still appears - The requested URL /web/admin/login was not found on this server.
Ded Nolyxeux
CC BY-SA 4.0
2018-12-21T10:55:37.373Z
Ok, then I'm out of ideas regarding /admin. But you have to config your server sir, the amount of information available now is staggering. I can see your licence file, configs, composer.lock files +++. Have the document root set to /web
Jørgen
CC BY-SA 4.0
2018-12-22T00:17:20.120Z
Is your Apache config set to AllowOverride for your site?  If not, it won't bother parsing any htaccess files it finds. https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride
Brad Bell
<control-panel>
Cannot find control panel after installation
# Cannot find control panel after installation

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

After installing craft on apache server, when I try to access control panel using web/admin, serwer throws 404 error.
I didnt changed cpTrigger setting. Default craft template that displays after installation is displayed correctly.
.htaccess file in web directory was not modified in any way, its contents are default:

    RewriteEngine On

    # Send would-be 404 requests to Craft
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
    RewriteRule (.+) index.php?p=$1 [QSA,L]

**Tags:** control-panel
> **Comments:**
> **username_1**: Are you running nginx? What is your nginx config?  
> **username_0**: Apache, just updated my post.  
> **username_1**: Does `web/.htaccess` exist on the server?  
> **username_0**: Yes, it does, it was not modified in any way. Updated my post.  
> **username_1**: What happens if you navigate to `yoururl.com/index.php?p=admin`?  
> **username_0**: It redirects to web/admin/login, but error 404 still appears - The requested URL /web/admin/login was not found on this server.  
> **username_1**: Ok, then I'm out of ideas regarding /admin. But you have to config your server sir, the amount of information available now is staggering. I can see your licence file, configs, composer.lock files +++. Have the document root set to /web  
> **username_2**: Is your Apache config set to AllowOverride for your site?  If not, it won't bother parsing any htaccess files it finds. https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride  

---

## 1 answers

### Answer by username_3 on 2018-12-21. Score: 1

Web is the public web folder if you followed the recommended install location, so the link to login is just /admin, i.e.

<http://your-domain/admin>

> **Comments:**
> **username_0**: Sorry, i didnt included all info in my post - default craft template that displays after installation is displayed correctly, so url is correct.  
> **username_4**: Thanks this worked for me, first time install. Looks pretty neat!  

---

