I want to host website and minecraft game server on one domain without subdomains.
But Im using different servers. For example
184.108.40.206 → IP of Website
220.127.116.11 → 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?
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: 18.104.22.168:25576 (domain.pl:25576)
and I don’t want use example ip 22.214.171.124 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.