# Error 404 Not found error - on initial install attempt

**URL:** <https://forum.mautic.org/t/error-404-not-found-error-on-initial-install-attempt/15086>\
**Category:** Mautic 3 - Install/Upgrade Support\
**Created:** [July 5, 2020, 8:20am UTC](https://forum.mautic.org/t/error-404-not-found-error-on-initial-install-attempt/15086 "2020-07-05T08:20:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveoppenheim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/steveoppenheim/32/690_2.png) [@steveoppenheim](https://forum.mautic.org/u/steveoppenheim)\
**Post date:** [July 5, 2020, 8:20am UTC](https://forum.mautic.org/t/error-404-not-found-error-on-initial-install-attempt/15086/1 "2020-07-05T08:20:46Z")

</div>

**Your software**  
My Mautic version is: 3.0.1  
My PHP version is: PHP 7.2.24-0ubuntu0.18.04.6  
Server OS: Ubuntu 18.04.4 LTS  
Mysql: Ver 14.14 Distrib 5.7.30, for Linux  
nginx: nginx/1.14.0 (Ubuntu)

**Your problem**  
My problem is: Seems URL command cannot correctly locate the installer  
The command URL changes from [domain.com/mautic/](http://domain.com/mautic/) to  
[domain.com/mautic/index.php/installer](http://domain.com/mautic/index.php/installer) with an error 404

These errors are showing in the log: There is no log

Steps I have tried to fix the problem:  
1/ i have reviewed other similar error 404 problems and they have not led to solving this particular problem

2/ I assume it is something quite basic in the ngnix config at finding the installer files in the vendor subdir

3/ NOTE: I have a multi-site nginx server with multiple web servers under the main domain.  
example: //main [domain.com/mautic](http://domain.com/mautic)  
//main [domain.com/site2](http://domain.com/site2)  
etc…

4/ Suggestion: What may help me (and others with similar configs using nginx) is to post a functional example nginx.conf and perhaps an example site “sites-available/server” file so that this step becomes a mute problem for this and future releases.

5/ nginx.conf file: Perhaps someone may be able to point out the errors in my ways 🙂

user www-data;  
worker\_processes auto;  
pid /run/nginx.pid;  
include /etc/nginx/modules-enabled/\*.conf;

events {  
worker\_connections 768;  
# multi\_accept on;  
}  
http {

```
    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;
    include /etc/nginx/mime.types;
    default_type application/octet-stream;
    ##
    # SSL Settings
    ##

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
    ssl_prefer_server_ciphers on;
    ##
    # Logging Settings
    ##

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;
    ##
    # Virtual Host Configs
    ##

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;

```

}

6/ nginx sites-enabled/mautic file  
server {  
listen 80;  
root /var/www/html;  
index index.php index.html index.htm index.nginx-debian.html;  
server\_name mautic;  
location = /favicon.ico { log\_not\_found off; access\_log off; }  
location = /robots.txt { log\_not\_found off; access\_log off; allow all; }  
location ~\* .(css|gif|ico|jpeg|jpg|js|png)$ {  
expires max;  
log\_not\_found off;  
}

```
    location / {
            try_files $uri /index.php$is_args$args;
    }
    location /mautic/ {
            try_files $uri $uri/ /mautic/index.php?q=$uri&$args;
    }

    location ~ \.php$ {
            include snippets/fastcgi-php.conf;
            fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include fastcgi_params;
            fastcgi_split_path_info ^(.+.php)(/.+)$;
     }

```

}

Many Thanks for any input and suggestions on this…

Rgs

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 5, 2020, 12:54pm UTC](https://forum.mautic.org/t/error-404-not-found-error-on-initial-install-attempt/15086/2 "2020-07-05T12:54:20Z")

</div>

A post was merged into an existing topic: [Mautic 3 on Centos 7 404 after installer completes](https://forum.mautic.org/t/mautic-3-on-centos-7-404-after-installer-completes/14961)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [July 5, 2020, 12:54pm UTC](https://forum.mautic.org/t/error-404-not-found-error-on-initial-install-attempt/15086/3 "2020-07-05T12:54:20Z")

</div>


