Need Assistance Setting Up a Custom Public Domain for Webhook Payloads
nickolaydimitrov
HOBBYOP

a year ago

Hi everyone,

I’m currently hosting my FastAPI backend on Railway, and I need to set up a custom public domain URL specifically to receive Stripe webhook payloads. My front end is managed with Webflow at scoremyinterview.com, but Webflow cannot directly handle Stripe webhook requests. Therefore, I want to have a dedicated subdomain (e.g., api.scoremyinterview.com) that points directly to my Railway deployment.

I’m facing an issue where my current attempts via Cloudflare result in SSL certificate errors because Railway’s default certificate doesn’t seem to cover my custom domain. I would like guidance on how to properly configure a custom domain for my Railway project so that it:

  1. Is publicly accessible (e.g., api.scoremyinterview.com).
  2. Provides a valid SSL certificate (using Let’s Encrypt or another method) for that custom domain.
  3. Properly routes POST requests to my FastAPI webhook endpoint (/stripe/webhook) for Stripe events.

Any help or documentation on setting up custom domains with Railway for backend services would be greatly appreciated.

Thank you!

Nick

Solved

3 Replies

a year ago

Hello,

If you want the api.scoremyinterview.com domain to work with your Railway service, you would first need to add it as a custom domain to the service, this can be done from within the service settings.

Best,

Brody


Status changed to Awaiting User Response Railway about 1 year ago


brody

Hello, If you want the [api.scoremyinterview.com](http://api.scoremyinterview.com) domain to work with your Railway service, you would first need to add it as a custom domain to the service, this can be done from within the service settings. Best, Brody

nickolaydimitrov
HOBBYOP

a year ago

Thank you, Brody,

I had looked and looked for where is the exact location under project settings to add the custom domain but couldn’t find it.

Could you please give me the path from project settings on how to get there?

Thank you again.

Nick.


Status changed to Awaiting Railway Response Railway about 1 year ago



Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved nickolaydimitrov about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...