**if you are using nginx server you need to follow below steps** Add This Entray on below files > sudo nano /etc/nginx/fastcgi_params # Magento Variables fastcgi_param MAGE_RUN_TYPE $MAGE_RUN_TYPE; fastcgi_param MAGE_RUN_CODE $MAGE_RUN_CODE; fastcgi_param MAGE_MODE $MAGE_MODE; > HostEntray ===== server { listen 80; listen 443 ssl; include snippets/ssl-cert.conf; server_name local.magento245.com; client_max_body_size 32M; set $MAGE_ROOT /var/www/html/magento2/magento245; set $MAGE_RUN_TYPE website; set $MAGE_RUN_CODE fr; set $MAGE_MODE developer; #set $MAGE_MODE default; #set $MAGE_MODE production; fastcgi_read_timeout 3000; }