I want to host both minecraft server and website on same subdomain (mc . example. com)
- I want to keep proxy on the website on this subdomain.
- I want to host minecraft server on this subdomain, without proxy, since it’s in paid plan and I don’t really need it there.
I know that it doesn’t make sense since I’m exposing IP address via minecraft, I need to pass traffic through CF for other reasons, don’t ask me why
Aka if I can only set no proxy for specific port on subdomain but keep the rest proxied. I think that would solve the problem but I’m not sure if it’s possible
I don’t believe you can. The proxy happens on DNS level, so you can’t change it by port. You can use an SRV record to point minecraft at a different record which can be unproxied so while they connect on the same subdomain, it is routed differently.
Okay, I found the solution
- I created unproxied A record for
- Then I changed
mc.domain.com proxy status back to proxied
- And lastly I created SRV Record like that:
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.