How to configure custom domain to work through www

Is it possible to have a custom domain automatically open with www (regardless if accessed from https://websitename.com or websitename.com or www.websitename.com)? For the apps I have that use subdomains as custom urls, this isn’t an issue as cloudflare is enabled for the parent domain and both it and all subdomains are reconfigured through www. The issue I’m having is with a parent domain that is currently pointed to Glide where enabling Cloudflare through my hosting provider caused the site to stop working.

This post explained the possibility of redirects which makes sense and solves the issue of www.websitename.com not working to begin with, but still redirects to the https://websitename.com instead of www.websitename.com. Any help is really appreciated!!

I’m working through a similar issue…

I have a Glide Page with a custom domain (domain.com). I successfully added www as a CNAME so that www.domain.com points to domain.com. However, the client also needs app.domain.com to point to domain.com.

Glide doesn’t provide this service. The domain provider also doesn’t provide this service. Kind of stuck.

hi Robert.

how You add CNAME on Glide side?

Yes, I never noticed, but one of my users pointed out the domainname.org works but www.domainname.org does not.

Ya, you have to add a CNAME record for www.domainname.org to point to domainname.org

4 Likes

Clumsy workaround: could you simply duplicate the app?

@Simon_Hill How is maintaining two identical separate apps less clumsy than properly configuring additional subdomains with the domain registrar? That’s how it works with any website that allows a user to navigate to a root domain or a www subdomain.

2 Likes

No I meant I had a clumsy suggestion…. The duplicate suggestion.

2 Likes

Understood. :wink:

1 Like

i did it on domain name registrator side, but i get warning about other version of ssl…
registrator say they don’t maintain it…