Subdomain creation access via 3rd party service

Hi Cloudflare devs and community!

I am currently making an educational service for school districts and would like to allow tech admins to add the district’s domain to my service so then the subdomain doesn’t have to be something complicated like 832u9rmu9cw83u9ecw83.mydomain.something and it can just be myservice.district.domain.
Then teachers can have their own page like teacher.myservice.district.domain or just myservice.district.domain/teacher.
How can I add a JavaScript or php script that can do this? If that doesn’t work then I can do any type of script. I can also do DNS help, api stuff, etc.

Honestly I just kinda need help in general.
Thanks!
AnguloRecto

Cloudflare for SaaS…

2 Likes

That’s not quite what I’m looking for.

That’s literally, exactly what you are looking for, if you want to do what you described using Cloudflare.

1 Like

My bad. This is a new experience for me.

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