Setting up a custom domain name with Route 53
Edit on GitHubThis document describes how to set up a custom domain name (domain) with its DNS zone hosted by Route53.
1. Set up hosted zones
To set up a hosted zone, provide the domain name via support.
2. Point domain names to Route 53
For a domain to start using the created hosted zone:
- In the AWS Management Console, go to Services > Route 53.
- Select Hosted Zones.
- Select the domain you want to point.
- In the Records pane, locate the record with the NS type.
- Copy the Value of this record, which is a list of nameservers.
- On your domain registrar’s side, set up the nameservers for your domain. Refer to the domain registrar’s documentation for details.
- Optional: Set up a custom SSL certificate for the domain.
3. Define domain names
In Spryker Cloud Commerce OS, infrastructure deployment is based on the application configuration. Domains are defined in a deploy.*.yml file used by the Docker SDK tool to build applications.
To define a custom domain, edit deploy.{project_name}-prod.yml
for the production environment or deploy.{project_name}-staging.yml
for the staging environment:
- Find the desired
group:
. - In the
group: applications:
, find the desired application. - In the
endpoints:
section of the desired application, set the domain and its store relation:
groups:
DE-1:
region: DE
applications:
Yves:
application: yves
endpoints:
{domain_name}:
store: {store_relation}
Example:
groups:
DE-1:
region: DE
applications:
Yves:
application: yves
endpoints:
www.de.mysprykershop.com:
store: DE
store:
must correspond to groups:
and region:
. For example, it is impossible to set a US store in the DE region.
See Deploy file reference to learn more about deploy file configuration.
- Depending on the environment you are setting up the domain for:
- Let us know about the desired change via support.
Give the DNS configuration 24-48 hours to propagate and you will be able to access your application via the domain.
Next step
Thank you!
For submitting the form