Connecting Cloudflare domain to Ecwid Instant Site
You can connect a custom domain purchased from Cloudflare with your Ecwid Instant Site, so that customers can enter your unique URL in their browser and get right to your site.
Once connected, your Ecwid Instant site will open at your domain name, via secure HTTPS connection. You don’t need to separately purchase an SSL certificate as Ecwid provides free SSL for Instant Site users. Visit your Cloudflare account to manage all the domain settings and to pay for the domain name, or renew it.
Step 1. Setting up your domain in the Ecwid admin
To link your domain with your Ecwid Instant Site, you should first specify your custom domain name in your Ecwid admin.
To specify a domain name:
- From your store admin, go to Website → Domain.
- In the Domain name and site address block, click Connect Existing Domain.
- In the Specify a domain name field enter your custom domain name without www:
- Click Next Step.
- You will see a popup that contains an IP-address. Copy that IP-address. You will need it to set up your domain in your registrar account.
- Click Save.
Step 2. Setting up your domain in the Cloudflare account
To finish linking your Ecwid Instant Site with your domain, you should make changes in your domain settings and point the domain to your Ecwid site. For that, you need to add an A record and a CNAME record in your domain host account.
To point the domain to your Ecwid site:
- In your Cloudflare admin, choose your domain name.
- In the menu on the left, click DNS.
- In the window on the right, click Add record:
- Enter the following data:
- In the Type dropdown, select A.
- In the Name field, enter @
- In the IPv4, enter the IP-address that you copied from your Ecwid admin.
- Click Save.
- To ensure your site opens with the address starting with "www", click Add record and add the following data for a CNAME:
- In the Type dropdown, select CNAME.
- In the Name field, enter www
- In the Target field, type your custom domain name, without “www”. For example, mywebsite.com
- In the TTL, select any value in the field. For example, 1 hour.
- Click Save.
- In the menu on the left, click SSL/TLS and in the right-hand side window, choose Full:
- In SSL/TLS → Edge Certificates, make sure the Always Use HTTPS toggle is turned off.
- In the menu on the left, switch to the Overview and make sure that the Under attack mode is turned off.
That’s it! Your domain name is set up. Now you need to wait for the changes to propagate. It may take up to 48 hours for changes to take effect but usually it takes up to two hours.
After that, your Ecwid store will open at the new set up domain name, with the secure HTTPS connection and a padlock icon in the browser address bar.