Changing the server ip
I have a domain that i already own, how do I use that domain as the ip address to my server?
17 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by ahraz3174#0
Where did you purchase your domain from
Easiest way is to just create an A record on the domain that points to ur Minecraft server’s ip address
do i have to do that from where I bought the domain from?
Typically yes
Should be able to just Google “how to set an A record on <put the place u bought ur domain from>”
For example, if ur domain was on cloudflare, this is what it looks like (random pic from google)
On their domain “nctest.info” they setup an A record “test” that points “198.187.31.45”
So if we pretend that “198…..” ip was ur Minecraft server ip, then people could connect to “test.nctest.info” and it would actually point to ur Minecraft server
typically people make their A record just “mc” and not test,
So it be “mc.domain.com” -> ur Minecraft ip
do you have the 25565 port
You can also add your domain to cloudflare if you bought it from somewhere else
the servers not running on port 25565, do i just add the port after a semicolon after i type in the ip like you do in minecraft?
❌
add a SRV record
Alright thanks
Add your domain to cloudflare.com
And then do this
Non proxied a record to your server
And Srv record pointing at your a record at your server port
Say if your base domain is twhvyt.com, then your srv record can be mc.twhvyt.com, here is what it would look like
A record: twhvyt.com points to 192.168.0.1 (I know this is an internal ip)
Srv record at mc.twhvyt.com port 25565 points to twhvyt.com (root)
So:
mc.twhvyt.com is the equivalent of:
192.168.0.1:25565
@Ahraz ^
Putting ur domain on cloudflare is nice, but not necessary.
You can add an SRV record on top of what I showed so people don’t have to type a port. However also not necessary. If you didn’t then yeah people would just type, “mc.domain.com:port”
Thank you
Oh I see
!close
post closed!
The post/thread has been closed!
Requested by ahraz3174#0