PriyaS
PriyaS

Reputation: 141

This localhost page can’t be found :Hybris

Suddenly I am facing This localhost page can’t be found, No webpage was found for the web address: https://localhost:9002/de issue in my site.

hosts file is set as :

#   127.0.0.1       localhost
#   ::1             localhost

and #Site URL Configurations

website.DEB2CStore.http=https://localhost:9002/de
website.DEB2CStore.https=https://localhost:9002/de

Upvotes: 0

Views: 2119

Answers (1)

Mafick
Mafick

Reputation: 1170

That is rough to say what here is the problem. This can have multiple reasons. But I think the mostly problem is, thar your storefront configuration doesn't match with your hosts file.

Here you can find some information about storefront configuration.

Accessing the Accelerator Storefronts

To access the sample storefronts you need to add a localhost mapping to your computer's hosts file. The hosts file approach requires an extra setup step on your machine and it represents how storefronts are organized in terms of domain URLs in a production environment.

The point is, that Hybris tries to map the given url with the correct storefront. If you give him only localhost he dont't know what to do. You can check if your 'normal' Hybris setup is right by trying this url:

http://localhost:9001/yacceleratorstorefront?site=apparel-uk&clear=true

For the 'normal' setup your hosts file should look like:

127.0.0.1 apparel-uk.local apparel-de.local electronics.local powertools.local

Upvotes: 0

Related Questions