TCP Proxy wildcard domain
I made a TCP proxy that I would like to have a custom wildcard domain for. Is this possible?
26 Replies
Project ID:
b9134439-1819-4a42-ad95-ff7a31509e22
b9134439-1819-4a42-ad95-ff7a31509e22
yea
very easy too
*.example.com
<- wildcard subdomain
( i assume you meant wildcard subdomains )for tcp, not http
oh my bad, not sure about TCP proxy
Thanks anyways
not currently possible, what's the usecase if I may ask?
Super basic tcp proxy used for minecraft servers
Trying to read the subdomain, get the target ip from a database and pass packets between the client and server
why does that involve the need for a wildcard subdomain?
Every server registered will have their own subdomain, and should be able to connect to the server using the proxy
you would need to run an external proxy with host masking
So the external proxy I already have, I just need to host mask to the TCP proxy address I get from railway?
I've been trying to do that, but without success. Not sure how I would go ahead and do that
literally just set the fixed host header to the railway tcp proxy domain when your proxy makes a request to the railway proxy domain
I am not sure I know what you mean by that. The proxy is running on railway. Are you saying I need to deploy it elsewhere?
correct
But then I wouldn't need railway for any of it
Are custom domains for tcp proxies planned?
that's fair
good question
I would need to have replicas in as many regions as possible, because I don't want it to affect latency for players obviously. Railway would make that easy
railway does not yet offer multi region replicas
I know, but I heard they were coming soon, or so I thought
it's soon ™️
I have a long way of development to go anyway, I need it to work in one region for now
Anyone official who could answer the question?
ive already asked the team, will come back when/if I get an answer
Alright
not planned for now, you would have to use a proxy with host masking, I know fastly can do this, and I'm pretty sure if fastly can, cloudflare can too
Alright thanks