Problem with domain refference

Hello,
I want to host website and minecraft game server on one domain without subdomains.
But Im using different servers. For example
54.31.122.52 -> IP of Website
12.34.127.54 -> IP for minecraft Server.
Currently I am using for website subdomain like shop.domain.com and for connecting to game domain.com but it is not satisfying for me.
Do you have any idea how to do it?

Hi @orszulak.k,

Assuming you already have the subdomains CNAMEd correctly, depending on your server and hosting, a simple URL Rewriting or URL Forwarding in the Page Rules should do the trick.

For the latter, I usually do the following:

https://game.example.com/* → 301 → https://example.com/game/$1

https://game.example.com/* → 301 → https://www.example.com/game/$1

I mean my game IP is in-game with specified port connecting. with SRV
example: 54.31.122.52:25576 (domain.pl:25576)
and I don’t want use example ip 54.31.122.52 for website, because it’s ip of game hosting
I want to use for my website another ip. but currently it’s running on subdomain example.domain.com, because when I use hosting ip on A record and this IP it makes conflict.
I hope I explained it well.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.