now when i hit localhost, i go to localhost/index.php
and get a message
Oops! An Error Occurred
The server returned a „500 Internal Server Error“.
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
There is an .env file where you can find a var with the value „prod“. Change it ton“dev“ and you are in the development mode and you will get a Symfony error note, with a lot of information.
You cannot register any domain. You can only register the domain your shop is running at. And do not try to register localhost. It must be a valid top level domain.
But you can skip the registration part if you do not need access to the shopware store.
but still do not get why i need to reserve one domain for the application to work
you said i have to set document root to the public folder so this means one domain for the application