www. subdomain and DNS problem

Hi,

I'm using Bootstrap hosting service and i have a problem with DNS. mydomain.com is all good. But www.mydomain.com brings Bootstrap's 404 page. So the DNS is heading to Bootstrap's server, but it doesn't show MY website.

This is my DNS setup on Cloudflare:

CNAME mydomain.com sites.bootstrapstudio.io CNAME www sites.bootstrapstudio.io

Would you please help me to solve this problem?

Thank you

Thank you for starting this thread! With these DNS settings mydomain.com and www.mydomain.com are two different websites which you will need to add to Bootstrap Studio, and publish to both places, which is cumbersome.

To work around this, you can configure cloudflare to redirect www.mydomain.com to mydomain.com and everything should work. Here is a post on their forum which goes through the process.

Thank you for your reply Martin!

I made a page rule in Cloudflare.

www.mydomain.com/*

Add a setting, and then Forwarding URL, 301 Permanent Redirect, to https://mydomain.com and now its working!