Custom Domain Troubles
Hi! We have a domain through Squarespace, as we have our website through them. I'm trying to set up mc.domain.com for our server.
I have a server set up, for connecting the
IP:port
works just fine as expected, but I cant seem to use mc.domain.com
or mc.domain.com:port
here at all.
I also have Geyser set up but I was gonna handle that later. The port used in the screenshot is the java / default port not the bedrock geyser port. Though I am not sure if that is messing with it.
Server is through EnviroMC, if that helps.
I have allowed time for it to propagate. Unknown Host error still persists.
Thanks for any help.48 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 justascrazy#0
Do a nslookup
Nothing found for the domain
I mean, domain.com has a record. mc.domain.com doesnt
@ππππΎππΎπΈ
What does mcsrvstat.us say
IP:PORT gives me a result
domain.com and mc.domain.com don't
What port does your server run on
25615
Have you tried domain:port
Yeah no results :/
Omit the Srv record
You didnβt try it with mc.domain.com:port did you
Tried both, with mc and without just to be sure
Neither worked?
nope
I have no clue why not
Okay. How long did you wait for dns propagation
Uhhh this was set up 2 weeks ago then I got busy so haven't touched since.
So definitely long enough
Interesting, may I have your domain
mind if I DM?
Sure
Oh nvm won't let me dm
Oops I forgot thatβs turned off
Dw, Domain is gideon-music.com. has a functional website on it
Will do, Iβll see what I can find
Just to confirm, is your serve running
Oh yeah, works fine, we can join on IP:Port
All running atm too
Iβll try to reach out with a nmap then
Hm
I cannot see your server port being opened
(Iβll remove that message after you confirm it)
Or rather, is that the ip you use to join your Minecraft server
The website is hosted through Squarespace, that is the websites IP.
The MC server is hosted on EnviroMC with a different IP
Is that maybe why π
So you have an issue with your websiteβs dns record
Yes.
Your srv record points at your web server
Which is square space, and they donβt run your Minecraft server
ah
is there a ways for mc.domain.com to point to the mc server even tho domain.com is the web server? Or is that just not a thing
I think you can configure your srv record to point at a specific ip instead of your root a record
I think*
Check if thatβs actually an option
If not, make another a record that points to your Minecraft server
I mean I thought it was already pointing to the MC server, IP starting 94.130. π
Your root record points at squarespaceβs webserver
And your srv record points to root
So technically mc.domain.com is going to port 25615 at squarespace
Which isnβt a thing
Ah ok that makes sense
What doesn't make sense is how I can do this because I don't know enough about adding and changing records. These were just based on what I found online. What should I be putting in each field
A second, Iβll show my own dns record as an example then
Tyy
Right then
So in my case, my root domain is twhvyt.com
And there are some subdomains, like cdn, proxy, map etc etc
Focus on the A records
Say for example, my root domain (twhvyt.com) points to 1.1.1.1
Thatβs an A record
Now, I can have another A record (mc.twhvyt.com for example) point to 8.8.8.8, so people accessing mc.twhvyt.com would resolve to 8.8.8.8, not 1.1.1.1
This is what you need
But since bedrock clients require a port, I would recommend you giving up your SRV record, and make another A record (mc.domain.com) point to your Minecraft server
So Java clients can connect via mc.domain.com:25612, and bedrock clients can connect via mc.domain.com:19132
So currently with this I've got an A record for the mc.domain.com and an SRV for it too. So you're saying, ditch the SRV and add what? I'm tryna understand I'm sorry π
I understand the why, that all makes sense you've explained it clearly, it's the how
Get rid of the srv record for now
Everything else looks good
What I used to do is have a srv record (_minecraft._tcp.java) point to mc.domain.com, which results in Java.mc.domain.com for java clients to connect to if you must
Because bedrock clients REQUIRE a port argument, and it cannot be the srv record that they are connecting to, so mc.domain.com:geyser-port is the best they can do
Now Iβm using a proxy server, which helps me with constructing a server network, as well as security
As people who gets your domain (to play) can easily resolve it to your serverβs ip address for funsies
Anyways thatβs not relevant, you can also change the ttl for your new record to the lowest it can go for a while, Iβve found that helps with propagation
To be honest, once your root record is out and propagated, your newer records should be done in an hour or so, my own domain could propagate dns record changes in about 5 mins (for myself, probably in a few hours around the world)
Alright that sounds good. As soon as I'm back to my pc later I'll give it a go and hope it works
Thanks for the help, I really appreciate it
I'll lyk if it doesn't work π
No worries, keep me updated
@dominic So it looks like this and I am getting nothing from mc.gideon-music.com or mc.gideon-music.com:25615
ik its taken me a bit to get back here, has been a crazy few days aha
Unfortunately I am the wrong dominic
oops
good luck
@ππππΎππΎπΈ
sorry haha
I see
Does nslookup resolve correctly
https://www.nslookup.io/domains/mc.gideon-music.com/dns-records/
No?
@ππππΎππΎπΈ idk why it wont
Ok it resolves now, I changed the host from
mc.gideon-music.com
to just mc
and now when I do nslookup for mc.gideon-music.com
it works
I can connect on java and bedrock with the domain now!!
@ππππΎππΎπΈ whenever you see this, tysm!!No worries! Glad you got it working