New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When installing Magento 2.3.0 Strorefront and Admin URLs throw a 404 if "localhost" is used. #20355
Comments
Hi @ksurendra. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @ksurendra do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @cedarvinda. Thank you for working on this issue.
|
@cedarvinda it took me more than 20 mins to write up the issue and strangely it closed in 13 mins. Was this tested on macOS Mojave? Apache? PHP 7.2? Can you add some screenshots of localhost working for you? |
@ksurendra Hi, can you confirm that your host file is correct? |
@irajneeshgupta Yes My puzzle was that storefront & admin works with |
While installing (web setup) Magento 2.3.0, if we choose localhost, the URL's (Storefront and Admin) throw a 404 error messages. But if we choose 127.0.0.1, the URLs (Storefront and Admin) load without errors.
Please note using custom port
8081
and not8080
.Preconditions (*)
Steps to reproduce (*)
Part 1
http://localhost:<custom port>/magento2/setup
Part 2
9. Repeat above steps 1 to 5
10. At 3rd step : Web Configuration, while entering "Your Store Address", replace localhost with 127.0.0.1 (any custom port).
11. After install you will see the URLs to Storefront and Admin (as below).
12. Try accessing the Storefront and Admin URL's, they will load properly.
Expected result (*)
Storefront URL, if users choose
localhost
ashttp://locahost:<any port>/<store name>
should load without 404 errors.Admin URL, if users choose
localhost
ashttp://locahost:<any port>/<store name>/admin
should load without 404 errors.Actual result (*)
Storefront URL, if users chooses
localhost
ashttp://locahost:<any port>/<store name>
should load without 404 errors.Admin URL, if users chooses
localhost
ashttp://locahost:<any port>/<store name>/admin
should load without 404 errors.The text was updated successfully, but these errors were encountered: