Sub domains with cloudflare

Hi, I have been trying to figure out how to do subdomains with cloudflare for a long time now.

so i have a domain at godaddy and I’m using cloudflare to handle the domain. But i have no clue how to add subdomains to cloudflare and use it on a seperate project on glitch.
because you can’t do subdomain.domain.com when adding a domain to a project. So how would i add a subdomain on cloudflare and use it on a seperate project. Let’s say i have api.domain.xyz. I want that in a seperate project.

thank you:)

You can just add another CNAME with Cloudflare.

1 Like

I added a CNAME, name as api (api.website.com) and target as the url glitch gave me when i did api.website.com in my new glitch project.

it kinda works but now I’m getting a 525 error

Do you have Strict SSL?

2 Likes