Welcome to Portkey Forum

Updated last week

Mapping a Subdomain to Portkey's API Endpoint

Portkey Support: is there a way I can setup my own subdomain like api.mydomain.com to map to api.portkey.com? I tried doing this using a CNAME record and x-portkey-custom-host but running into this issue.

REASON: we're building AI functionality and on client machines, we need to whitelist outgoing endpoints. it's easier to get clearance for our domain vs portkey.
Attachment
image.png
s
4 comments
are you trying to do a CNAME redirect?
if you're configuring your DNS records to point to api.portkey.ai, I'm not sure it would work, it would be against cloudflares security policies
I'd suggest setting up a proxy service that forwards the requests
Alternatively suggest doing an enterprise deployment if you're at scale cc: @Vrushank | Portkey
Add a reply
Sign up and join the conversation on Discord