I am new to Magento this is the first time installing it but I have been stuck on this issue for two days now.

I have windows 10 OS, and Laragon for apache and MySQl, Laragon is just like XAAMP no big difference.

I installed Magento 2.4 using composer

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition magento2New

Then I followed the exact tutorial in this link. And everything mentioned in the tutorial like errors and messages appeared to me and solved it like mentioned in tutorial.

Finally when done I open frontend URL http://alaa.magento2new.test/ and it gives me the Too many redirects error, so I tried http://alaa.magento2new.test/admin and it worked like a charm and logged in to admin dashboard successfully.

I tried too many things nothing worked, like finally I enabled SSL in apache and Magento and still the same problem, and I almost tried every solution in this question with no luck, and many other threads online.

This is the current config in my db after changing and modifying from the fresh install enter image description here

My final thoughts now is installing a virtualbox with Linux image or use docker container, but I would really be happy if I can run magneto with my current environment.


2 Answers 2


Simple answer : you can't make it work on your current environment

Operating systems (Linux x86-64) Linux distributions, such as RedHat Enterprise Linux (RHEL), CentOS, Ubuntu, Debian, and similar. Magento is not supported on Microsoft Windows and macOS.


check if you have both web/secure/base_url and web/unsecure/base_url in core_config_data table and run php bin/magento cache:flush

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.