How can I redirect my domain name to IP:PORT?

Brajet

Active member
Joined
Jun 4, 2025
Messages
2,594
Reaction score
0
Points
36
I have a domain (e.g. domain.org) and I want to set it up to redirect users to a specific IP address and port (IP:pORT). This is for a Minecraft server, so it's not HTTP traffic.

Currently, I've configured an A record in Cloudflare to point my domain to the server's IP, but I'm having trouble getting it to work with a non-default port (not 25565, the standard Minecraft port).

Could someone recommend the best way to configure this so that when someone enters "domain.org" for the server address, it redirects to the server's IP and the correct port?
 
  • We value your privacy

    We use essential cookies to make this site work, and optional cookies to enhance your experience.

    See further information and configure your preferences

    These cookies are required to enable core functionality such as security, network management, and accessibility. You may not reject these.
    We deliver enhanced functionality for your browsing experience by setting these cookies. If you reject them, enhanced functionality will be unavailable.
    Cookies set by third parties may be required to power functionality in conjunction with various service providers for security, analytics, performance or advertising purposes.
Top