Installing Sylius on web hosting


#1

Hi,
I install sylius on my server, I did not have to err during the installation but I can not access the back office of the site (nor the front) error 403 forbidden. Do you know where can I see what blocks?

Step 1 of 4. Checking system requirements.

Success! Your system can run Sylius properly.

Step 2 of 4. Setting up the database.

Creating Sylius database for environment dev.
It appears that your database already exists.
Warning! This action will erase your database.
Would you like to reset it? (y/N) y
4/4 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 100%

Loading sample data for environment dev.
Warning! This action will erase your database.
Continue? (y/N) y
1/1 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 100%

Step 3 of 4. Shop configuration.

Currency (press enter to use USD): EUR
Adding Euro currency.
Adding American English locale.
Create your administrator account.
E-mail: site@oplub.com
Username (press enter to use email): riaadmin
Choose password:
Confirm password:
Administrator account successfully registered.

Step 4 of 4. Installing assets.

Installing Sylius assets for environment dev.
1/1 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 100%

[OK] Sylius has been successfully installed.

You can now open your store at the following path under the website root: /
customer@ria-webpp-01:/data/share/vhosts/preprod.opluba.com$


#2

You installed it for the dev environment, which allows access to a limited set of hosts from the local network.
You need to run the install command with --env=prod option.
More info about environments:
https://docs.sylius.com/en/1.3/book/introduction/environments.html