Connecting a Domain to Shopware 6
If you selected the "Shopware 6 Pre-installation" option when placing your order, we will fully set up Shopware on the working domain of your server. You can either set up the system using the working domain or configure your own domain right away.
DNS Settings
To ensure that HTTP requests are routed to your Shopware server, the corresponding DNS zone must be updated. You can find the correct IP addresses (IPv4 and IPv6) in the Server view under Master Data in the Customer Center. Then add the following DNS records to the DNS zone of the desired domain:
| RR Type | Host | Domain (Example) | Value |
|---|---|---|---|
| A | creoline-demo.com | IPv4 address of your Shopware server | |
| A | www | creoline-demo.com | IPv4 address of your Shopware server |
| AAAA | creoline-demo.com | IPv6 address of your Shopware server | |
| AAAA | www | creoline-demo.com | IPv6 address of your Shopware server |
Please note that changes to the DNS zone can take up to 24 hours to propagate worldwide. You can check the resolution at any time using our free DNS lookup tool.
Setting Up the Domain in Plesk
Now that HTTP requests have been redirected to Shopware in the previous step, they must be routed from the server to the desired Shopware instance. To do this, log in to the Plesk Control Panel via our Customer Center.
Navigate to the menu item Tools & Settings → Service Management.
Stop the PHP-FPM 8.2 service using the Stop icon. Then navigate to Websites & Domains and open the working domain, if it is not already expanded.
Click the … button next to the working domain (sXXXXX.creoline.cloud) and select Change Domain Name.
Then enter the desired domain (without www.). In this example, we’re using the domain creoline-demo.com.
Next, navigate back to Tools & Settings → Service Management and re-enable the PHP 8.2 FPM service.
Configuring the Sales Channel
Additionally, you must make the necessary adjustments in the Shopware 6 sales channel. Log in to the Shopware administration using the previously configured domain by accessing the domain with the path /admin. For example, creoline-demo.com/admin.
Next, open the sales channel settings and scroll to the Domains section. Here, replace the test domain we provided with your desired domain. Please note that Shopware 6 distinguishes between http://, https://, www., and the variant without a prefix. Therefore, configure only the desired variant, e.g., https://www.creoline-demo.com.
Finally, save the settings by clicking the Save button. Manually clearing the Shopware cache is not necessary.
Lastly, you can access the sales channel via the previously configured domain to verify that your settings have been applied correctly.
Adjustment in the Development Environment (.env.local)
Finally, the APP_URL must be adjusted in the .env.local development environment to resolve the “Incorrectly configured APP_URL” error message in the administration panel.
You can find instructions for this under Incorrectly Configured APP_URL