error handling - Hybris: cannot find CMSSite associated with current URL -
i created new hybris extension using 1 of given templates.
build successful , able start server, too.
but when opening weblink hac error "cannot find cmssite associated current url".
are there suggestions solve or investigate issue?
you need use hosts file mappings or use site-id parameter avoid 500 error.

please follow these link
https://wiki.hybris.com/display/accdoc/just+one+storefront
https://help.hybris.com/6.3.0/hcd/8ae0711f86691014877ae05249b2f5ac.html (hybris 6)
if have administrator rights, idea add following entries in host file.
127.0.0.1 hybris.local [example]
the etc hosts modification allows accelerator identify sites (cmssites) url. makes url neat , clean.
after host file change, can access site
http://hybris.local:9001/yacceleratorstorefront/
if don't this, sites need identified additional request parameter
http://localhost:9001/yacceleratorstorefront/?site=hybris&clear=true