Skip to main content
10 votes
Accepted

How can I display a custom maintenance message on Magento 2.2.4

For this You need to update below file pub/errors/default/503.phtml and design accordingly but best practice to override this into custom error page for this follow below steps. Go into the pub/...
VDC's user avatar
  • 461
7 votes

How can I display a custom maintenance message on Magento 2.2.4

you can go to pub directory and find below path: pub/errors/default/503.phtml and quick edit on the 503.phtml file and edit this lines also css add here
Rakesh Donga's user avatar
  • 5,364
5 votes

Magento 2 : Admin url 404 not found

Fileally After Rebuilding Server again installing php 7.1 mysql marine apache2 got the solution Source : After successful installation, admin URL is returning a 404? I was also facing the same ...
Shaik's user avatar
  • 181
5 votes
Accepted

Magento2 throws 500 internal server error

For 500 error, you need to enable mod_version in apache. You can check all the enabled apache modules with the command apache2ctl -M. If you don't see it in the list, then it's not installed. To do ...
Lez's user avatar
  • 2,917
4 votes

Magento2 throws 500 internal server error

As per the suggestion given by @Pramodkharade on comments, I need to enable mod_version module from my httpd.conf Change below # LoadModule version_module modules/mod_version.so To LoadModule ...
Anto S's user avatar
  • 1,417
4 votes
Accepted

Error 404 on Magento 2.4.2 on Localhost

You are missing the apache configuration for your specific magento domain. To create it, you create a file in /etc/apache2/sites-available/ named after your domain followed by .conf. In your case: /...
Mario's user avatar
  • 478
3 votes

Different PHP-FPM Pools for frontend and backend using Apache2

sure you just read how it works in here: https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html then in apache frontend vhost config you add something like this: <VirtualHost 1.2.3.4:443> ...
MagenX's user avatar
  • 3,813
3 votes
Accepted

Magento 2: 403 error after issuing setup:upgrade command

Step 1 : open the terminal and navigate to magento web root cd /var/www/html/magento2 Step 2 : Deploy command php bin/magento s:s:d Step 3 : Reindex command php bin/magento i:rei Step 4 : ...
Rohan Hapani's user avatar
  • 17.4k
2 votes

How to setup AWS Cloudfront for Magento 2

I figured out the issue, it was the URLs base_static_url and base_media_url I was following a tutorial and assumed that magento is very opinionated in terms of url and stuff, But the case is ...
diyoda_'s user avatar
  • 151
2 votes

Apache2 server security and magento

Use Access-Control-Allow-Origin for each resource you want to use? Header add Access-Control-Allow-Origin "http://anotherdomain.com"
hayres's user avatar
  • 76
2 votes
Accepted

Is it possible to install using checkout from existing SVN?

My experience is with Magento V1. I don' know how much has changed in V2. I have been using a SVN method of keeping our live site up to date for about a year now. I have a separate URL for the ...
Kane Shaw's user avatar
  • 315
2 votes
Accepted

Magento 2 not working on apache2, php7 and ubuntu

Download magento2 from Magento Commerce website Create a folder magento under /var/www/html Extract all the files of magento2 under /var/www/html/magento Change the file permissions sudo chmod -R ...
Harish Ninge Gowda's user avatar
2 votes

Magento 2: 403 error when visiting website in browser

This answer assumes that you are running apache 2.4 on ubuntu. Please provide more information about your server. Solution 1 Check that mod_rewrite is enabled on your server by running sudo a2enmod ...
Muckee's user avatar
  • 699
2 votes

Magento 2: 403 error when visiting website in browser

How to fix In order to resolve the 403 Forbidden problem you have to adjust permissions for user which is used to run localhost server. Find your username with this command: whoami ...
Suresh Chikani's user avatar
2 votes

Varnish Cache not working Magento 2.3, nginx proxy and apache2 backend webservers

More information needed The curl request only displays the response. I'd like to see request information as well, to figure out which URL you called. The VCL file is truncated as well. It's not ...
Thijs Feryn's user avatar
  • 1,081
2 votes

Error 404 on Magento 2.4.2 on Localhost

Actually, we've had a similar problem after upgrade, though there were NO changes in nginx configuration. Magento removed the index.php file from the main folder as such we're getting 404 on all other ...
obsergiu's user avatar
  • 222
2 votes
Accepted

Apache shows Magento directory index after installation (local dev setup)

Your document root in your Apache virtual host needs to point to /pub directory. It’s mandatory now from v 2.4.2. See here for details. https://devdocs.magento.com/guides/v2.4/install-gde/tutorials/...
bernieu2's user avatar
  • 594
2 votes

installed magento 2.4.6 and running php 8.1 but the frontend still asking for php 8.1.0 or later

There is something wrong with your php version, For more details please print phpinfo and provide more details regarding your problem.
Jaydip Darji's user avatar
1 vote
Accepted

How to use Elasticsearch 6 with Apache, Redis and Varnish on Magento 2.3 Open Source?

you dont have to configure proxy. your elasticsearch must be running on local or private ip. and magento connects to 9200 port. but the only proxy you need is to kibana service, configuring that ...
MagenX's user avatar
  • 3,813
1 vote
Accepted

Magento 2.3 Installation worked on Ubuntu 18.04, but after Ubuntu Restart Magento Page will not load any more. Any Ideas what could be the Problem?

This can be a permission issue. So, give file permission to your generated/ pub/ var/ folders using following command. sudo chmod -R 777 var/ generated/ pub/media pub/static
Flying Finner's user avatar
1 vote

Magento 2: 403 error when visiting website in browser

there no need any solutions or long checklists. make sure that apache/php-fpm user/process has read access to yout web root folder. this is a common mistake / error when you deploy files in cpanel ...
MagenX's user avatar
  • 3,813
1 vote

404 Not Found After changing HTTP to HTTPS

Did you reindex and clean/flush the cache? Try the basics first: bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy bin/magento indexer:reindex bin/...
Hunter's user avatar
  • 809
1 vote

Why we rewrite urls in magento 2?

Options Indexes FollowSymLinks Indexes: A directory content will be listed on browser if no index page. It's not a good idea for security purpose. So i think you should use -Indexes which will ...
satya prakash patel's user avatar
1 vote

Are there any benefits of using Apache's mod_cache_disk with Magento 2?

do not use this cache for apache. best option: for wordpress and magento 1 install Varnish extension. in magento 2 varnish cache already built in. use Varnish cache and SSD disk. second option: ...
MagenX's user avatar
  • 3,813
1 vote
Accepted

Magento2 Admin, https loop

Try these Steps: 1) Check web/secure/use_in_adminhtml and web/secure/use_in_frontend settings in core_config_data, they both should be set to 1 2) Delete cookies for domain 3) Clear all Cache
Rahul Singh's user avatar
  • 1,650
1 vote

Magento 2 : Admin url 404 not found

Change Admin Path and try again: It is not recommended to change it directly from app/etc/env.php, always prefer the CLI: php bin/magento setup:config:set --backend-frontname="admin_url"
Nikunj Vadariya's user avatar
1 vote

How to resolve .htaccess not working on localhost?

It sounds as though you don't have the rewrite module enabled in apache. Can you make sure you have enabled it? Open your http.conf and look for a bunch of LoadModule lines. Find the one with ...
Brett's user avatar
  • 1,854
1 vote

404 on every page, fresh install

Thank you all for the replies and the help! But it turned out to be a pretty simple fix that I just didn't realize. I was installing to the base url example.com/magento2/ but there was no magento2 ...
Joshua Day's user avatar
1 vote

Magento 2 websites : BLOCK access from ALL & ALLOW access only from some countries?

Cloudflare option If you are using Cloudflare, this is the method I would use. Enable IP Geolocation in Cloudflare: You can enable IP Geolocation to have Cloudflare geolocate visitors to your ...
Danny Nimmo's user avatar
  • 1,253

Only top scored, non community-wiki answers of a minimum length are eligible