大网数据广告活动
网站运营与故障问答

Forwarding a subdomain to a Minecraft Server

· 52CE 我爱测

I am trying to forward a subdomain to directly connect to a Minecraft server. The domain name is hosted at GoDaddy and the server requires the port at the end. These are the things I have tried so far: I attempted to create an A …

问题原文

原帖链接 · Brandyn · CC BY-SA 3.0

I am trying to forward a subdomain to directly connect to a Minecraft server. The domain name is hosted at GoDaddy and the server requires the port at the end. These are the things I have tried so far:

  1. I attempted to create an A record via GoDaddy's DNS manager. This worked in redirecting the IP, as the IP for the server is actually the IP for the server's control panel. I attempted to add this to Minecraft followed by :25602 which is the port number. Unfortunately that didn't work.

  2. I went to the GoDaddy domain management page and attempted to create a redirect to the subdomain but that did not work either. I entered the port name as well.

Does anyone know how to do this successfully? I mean to me, these things should have worked. I have done some research and can't seem to find anything other than what I have tried already.

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 4.0

Your mistake was attempting to add a port in step 1 and using words like forward. You want to POINT, not foward which I'll explain below.

DNS works by translating domain to ip addresses, it has nothing to do with ports. So for example if you have a website running on one ip but then your minecraft server is on another then you need to setup CNAME's which is a subdomain.

So your records might look like

@ > 192.0.2.123

www > @

Which means that the CNAME of www is running on IP address 192.0.2.123 etc.

Simply add a new cname and then enter the IP of the minecraft server. Your friends and co will be able to access the server via the sub domain 24 hours later roughly.

EXAMPLE:

SERVER as the CNAME, then the server IP. This makes the sub domain server.yourdomain.example

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2013-11-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。