Domains

In this article, learn how internal and external domains can be routed to your hosting plan.



DNS Settings

Internal Domains

Domains that you register directly through creoline can be automatically configured for the desired hosting plan. To do this, select the desired hosting plan in Shopping Cart → Configure Domain → DNS Template. Once the domain has been successfully registered, it will be automatically configured for hosting.


External Domains

To connect an external domain to your hosting plan, you must adjust the DNS settings with your DNS or domain provider.


First, determine the correct IPv4 and/or IPv6 addresses for your hosting plan by navigating to the Hosting Plans menu item. Select the hosting plan to which you want to add an external domain.

Next, create new DNS records with your domain/DNS provider using the IP addresses you determined earlier.


Sample configuration:

RR Type Host Value TTL
A @ 5.1.73.100 3600
A www 5.1.73.100 3600
AAAA @ 2a07:6fc0:1:0:73::100 3600
AAAA www 2a07:6fc0:1:0:73::100 3600



Please note that it may take several hours for the new DNS settings to take effect worldwide.



Add a Domain to Your Hosting Plan

Once the DNS records have been created, you can add the domain via the Websites & Domains menu item. Click the Add Domain button to add the previously configured domain.


If you want the new domain to be routed to your existing website or online store, select the same document root in the hosting settings as you did for your primary domain.


Default document root for our hosting plans:

Hosting Plan Default Document Root
WordPress /httpdocs
Shopware 5 /shopware
Shopware 6 /shopware/public


Configuring the Domain in Shopware 5

To ensure that Shopware displays the correct store, the domain must be configured in the Shopware 5 backend. To do this, log in to the backend of your Shopware 5 store and open the menu item: Settings → Basic Settings → Stores.



Click on the existing shop and, on the right-hand side, fill in the Host and Host Alias fields with the new domain.


Note: Shopware distinguishes between domain.de and **www.**domain.de. Enter the desired variant (e.g., with the www. prefix) in the Host field and the non-www. variant in the Hostalias field so that Shopware automatically redirects to the www. variant.


Configuring the Domain in Shopware 6

To ensure that Shopware displays the correct sales channel, the domain must be configured in the Shopware 6 administration panel. To do this, log in to the administration panel of your Shopware 6 sales channel and open the sales channel via the sidebar.






You can edit the existing domain using the … icon. Enter your new domain in the URL field and save the changes by clicking the Edit Domain button.


Note: Shopware 6 distinguishes between domain.de and **www.**domain.de. Enter the desired variant (e.g., with the www. prefix) in the URL field. Otherwise, Shopware 6 will display a 500 error (Internal Server Error) because the domain cannot be uniquely assigned to a sales channel.


For Shopware 6, you should also set up a redirect to the desired prefix via the hosting settings, since Shopware 6 does not support alias domains like Shopware 5 does. In the hosting settings, you can select the preferred domain (e.g., with the "www." prefix) so that requests for the non-"www" version are automatically redirected to the "www" version.



Troubleshooting

You can check all four cases of a domain using the tool https://help.creoline.com/de/tools/redirect-test.


Generally, the following schema should be followed:

Domain Status Code Description
http://domain.de 301 Redirect to https://www.domain.de
https://domain.de 301 Redirect to https://www.domain.de
http://www.domain.de 301 Redirect to https://www.domain.de
https://www.domain.de 200 Website displayed


Make sure that all three other cases redirect immediately to the target domain and do not redirect to the actual target via multiple 301 or 302 redirects.