Vikalp
CDCloudflare Developers
•Created by Vikalp on 9/17/2024 in #general-help
Wildcard domain on cloudflare on worker and pages
I have a node js application app.butterflye.com where user can create workspaces and under this workspaces they can create channels and post the updates on it.
now what i have to do is, While creating the workspace user can provide a domain now this domain will be linked to there channels and act as a subdomain for the channles below is an example :
User 1
Workspace : User 1 Workspace Domain Name: abc Channles channle-a link : abc.app.butterflye.com/channle-a
channel-b
link : abc.butterflye.com/channle-b User 2
Workspace : User 2 Workspace
Domain Name: xyz
Channles channle-neo
link : xyz.butterflye.com/channle-neo channel-john
link : xyz.butterflye.com/channle-john
domain name could be anything the user will provide. I have configured butterflye.com on godaddy. How can we configure it with the dynamic sub-domain the user will provide.
now what i have to do is, While creating the workspace user can provide a domain now this domain will be linked to there channels and act as a subdomain for the channles below is an example :
User 1
Workspace : User 1 Workspace Domain Name: abc Channles channle-a link : abc.app.butterflye.com/channle-a
channel-b
link : abc.butterflye.com/channle-b User 2
Workspace : User 2 Workspace
Domain Name: xyz
Channles channle-neo
link : xyz.butterflye.com/channle-neo channel-john
link : xyz.butterflye.com/channle-john
domain name could be anything the user will provide. I have configured butterflye.com on godaddy. How can we configure it with the dynamic sub-domain the user will provide.
2 replies