# WWW Prefix Not Working for Custom Domain

**URL:** <https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431>\
**Category:** Ask for Help\
**Created:** [April 18, 2025, 8:50pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431 "2025-04-18T20:50:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstam2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mstam2/32/67186_2.png) [@mstam2](https://community.glideapps.com/u/mstam2)\
**Post date:** [April 18, 2025, 8:50pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/1 "2025-04-18T20:50:54Z")

</div>

Hi All –

I am using a custom domain for an app “[appname.com](http://appname.com)”. “[appname.com](http://appname.com)” does work, “[www.appname.com](http://www.appname.com)” doesn’t work. I have this CNAME record set up:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/7/57d2e77057978a8bf3bbcbb4ad448fb5a5a39ab3.png)

This is the error when accessing “[www.appname.com](http://www.appname.com)”:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/d/1dc5950370c109be62e07cde19a0391b1380d8e6.png)

I use Squarespace for hosting the domain. Any thoughts?

Thank you!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 18, 2025, 10:07pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/2 "2025-04-18T22:07:24Z")

</div>

You won’t be able to setup two domain/subdomain for an app in Glide. What I would recommend you is to create a redirection from www to your settled domain in Glide instead.

That way, Squarespace is taking care of the redirection as well as the TLS for www.

---

<div class="post-metadata">

**Author:** ![mstam2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mstam2/32/67186_2.png) [@mstam2](https://community.glideapps.com/u/mstam2)\
**Post date:** [April 18, 2025, 11:01pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/3 "2025-04-18T23:01:11Z")

</div>

Thanks — I tried setting up that redirect in Squarespace (see the first photo)… is there something I should change?

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 19, 2025, 2:01am UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/4 "2025-04-19T02:01:02Z")

</div>

A CNAME is not a redirection. Use the “Domain Redirection” feature.

---

<div class="post-metadata">

**Author:** ![mstam2](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mstam2/32/67186_2.png) [@mstam2](https://community.glideapps.com/u/mstam2)\
**Post date:** [April 21, 2025, 12:38pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/5 "2025-04-21T12:38:15Z")

</div>

It works! Thank you!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [April 21, 2025, 12:57pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/6 "2025-04-21T12:57:20Z")

</div>

Glad it worked!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [April 28, 2025, 12:57pm UTC](https://community.glideapps.com/t/www-prefix-not-working-for-custom-domain/81431/7 "2025-04-28T12:57:55Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
