Skip to main content

Connecting a custom domain

How to connect a custom domain to your Cartum online store

To connect a custom domain to your website, follow these three steps:

  1. Make a monthly fee payment — contact your manager for payment details.

  2. Point the domain to your IP address.

  3. Submit a request for domain activation on the server to customer support.

Domain rerouting

To control the domain settings, you need access to your domain name registrar's interface.

You can reroute the domain yourself by following our instructions. If you're not confident, you can grant temporary access to the domain management interface to our customer support, and we will set it up for you.

Use the domain management panel to create ALIAS records for the domain and delete the existing A and AAAA records for domain.com and www.domain.com:

domain.com ALIAS cname.horoshop.ua
www.domain.com ALIAS cname.horoshop.ua

If your domain name registrar does not support ALIAS records, you need to add (or modify) the A records for domain.com and www.domain.com (ensure you update all four records):

domain.com     A   51.68.97.214
www.domain.com A   51.68.97.214
domain.com     A    51.68.107.5
www.domain.com A    51.68.107.5

*domain.com and www.domain.com are the domain names of your website.

Attention: You must delete AAAA records for your domain!

ALIAS records are rerouted within a few minutes, while rerouting A records can take several hours.

Enabling your domain support by our servers

If you completed the domain rerouting steps on your own, send the domain name to customer support. This will allow us to configure our servers to support your domain and generate Let's Encrypt SSL certificates.

SSL certificates may not be generated until the certification center can verify that your custom domain points to our IP address. Please allow for a delay of up to 72 hours.

DNS zone management via cloudflare.com

If your domain is managed by cloudflare.com, the rerouting procedure is the same. Here is a sample setup (replace domain.com with your domain name):

DNS zone management via Cloudflare — Cartum

Please note: for second and third level domains Cloudflare automatically requests a Let's Encrypt SSL certificate, which may take up to 24 hours to process.

Go to the SSL/TLS section and enable Full mode as shown in the screenshot below.

SSL/TLS mode at Cloudflare — Cartum

Additionally, go to SSL/TLS → Edge Certificates and enable the Always Use HTTPS option:

Always Use HTTPS option at Cloudflare — Cartum

You also need to create a mandatory WAF rule for SSL certificates:

  1. Go to Security WAF (or Security rules) and click Create rule.

  2. Create a rule (for convenience, you can click Edit expression and paste the pre-written code):

    (http.request.uri.path wildcard r"/.well-known/*")

  3. Select the Skip action for all components (check all available boxes) and place the rule first (Place at: First).

WAF rule for SSL certificate — Cartum

Did this answer your question?