7 months ago
I've a service which uses wildcard domain to serve request for users serving some html/website content. I want to allow those users to cname that and issue a certificate for them so they can connect their custom domain to their website.
Is this something I can do on railway? I saw the railway graphql public API which has options to attach new domains with a limit of 20.
I'm looking at thousands of them.
Pinned Solution
7 months ago
Yeah cloudflare is your best bet.
What it looks like you are doing is custom hostnames with SSL.
From what I've done, you would want to look into doing something like
Setting up a wildcard *.domain.tld -> server
Have users (or use the cf api maybe?) CNAME their domain -> your domain user.domain.tld
And I've never done this but apparently google says you can use the create-custom-hostnames thing to accept it, verify that its legit to some database store, and issue SSL.
https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/create-custom-hostnames
I've never done this and its just a general thing I would go after if I was in your place. Might be wrong lol
4 Replies
7 months ago
This is something you would need to do within Cloudflare.
7 months ago
Yeah cloudflare is your best bet.
What it looks like you are doing is custom hostnames with SSL.
From what I've done, you would want to look into doing something like
Setting up a wildcard *.domain.tld -> server
Have users (or use the cf api maybe?) CNAME their domain -> your domain user.domain.tld
And I've never done this but apparently google says you can use the create-custom-hostnames thing to accept it, verify that its legit to some database store, and issue SSL.
https://developers.cloudflare.com/cloudflare-for-platforms/cloudflare-for-saas/domain-support/create-custom-hostnames
I've never done this and its just a general thing I would go after if I was in your place. Might be wrong lol
7 months ago
And in my experience, cloudflare support is super awesome. Was able to get questions answered quickly and to the point.
Status changed to Solved chandrika • 7 months ago