Domain Help

Status
This thread has been locked.

vanillatrackers

Banned
Feedback score
1
Posts
124
Reactions
36
Resources
0
- We have a website hosting for our server, MysticalHCF.
- The domain mysticalhcf.org is currently connected to our Minecraft server.

Is there a way for us to make it connect to our website as well as our Minecraft server?

Please make a detailed comment on how to do it, if you know how!


Thanks.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

sati

pop smoke
Supreme
Feedback score
14
Posts
225
Reactions
99
Resources
0
- We have a website hosting for our server, MysticalHCF.
- The domain mysticalhcf.org is currently connected to our Minecraft server.

Is there a way for us to make it connect to our website as well as our Minecraft server?

Please make a detailed comment on how to do it, if you know how!


Thanks.
I believe you can do it like this:

play.mysticalhcf.org for your MC Server
mysticalhcf.org for your Website
 

vanillatrackers

Banned
Feedback score
1
Posts
124
Reactions
36
Resources
0
I believe you can do it like this:

play.mysticalhcf.org for your MC Server
mysticalhcf.org for your Website
Is there a way to direct mysticalhcf.org to the server and the website?
 
Banned forever. Reason: Scamming (https://gyazo.com/daac48fd061060f59ab1f7473c180ff6)

Theo J

Entrepreneur | IB/CS Student
Supreme
Feedback score
38
Posts
1,405
Reactions
960
Resources
0
1) Set an A Record. (This is for your website)
Name: mysticalhcf.org
Target: x.x.x.x (Your website's IP)
TTL: Auto

2) Set another A Record. (This is necessary for your SRV Record that we will setup next.
Name: srv.mysticalhcf.org
Target: x.x.x.x (Your server's IP)
TTL: Auto

3. Set an SRV Record. (This is for your server)
Name: mysticalhcf.org
Weight: 0
Priority: 5
Target: srv.mysticalhcf.org
Port: Your Minecraft server's port.

This should work.
 

JDJZ

Supreme
Feedback score
7
Posts
97
Reactions
39
Resources
0
Probably the website and server need to be hosted under the same machine with the same IP, like a dedicated server or VPS.
This is correct. It will not work if you are hosting the website lets say on Host Gator and your server lets say on Anvil Node.

They both need to be on the same ip and you can do that like Jkaay said using a VPS or dedicated server.
 

Latouth

Troubled on Linux? Ask me!
Supreme
Feedback score
18
Posts
1,213
Reactions
504
Resources
0
Actually. If you buy a small VPS you could use a gre tunnel to "hook" port 80/443 to a website machine, and port 25565 to your minecraft machine. Mind you, if the VPS goes down.. both of your servers go down

There's numerous ways.
1) same machine
2) gre tunnel (explained above)
3) SRV Record (explained in a earlier post by Theo J)
 

Theo J

Entrepreneur | IB/CS Student
Supreme
Feedback score
38
Posts
1,405
Reactions
960
Resources
0
Actually. If you buy a small VPS you could use a gre tunnel to "hook" port 80/443 to a website machine, and port 25565 to your minecraft machine. Mind you, if the VPS goes down.. both of your servers go down

There's numerous ways.
1) same machine
2) gre tunnel (explained above)
3) SRV Record (explained in a earlier post by Theo J)
Same machine is probably the easiest, but since the OP has two different servers for each, the third option (SRV) would probably be easiest for a beginner in this case.
 

Tripps

SysAdmin | Developer
Premium
Feedback score
19
Posts
785
Reactions
313
Resources
0
Is there a way to direct mysticalhcf.org to the server and the website?
There is no way to do the domain unless the web and game is on the same machine. With how A records work, you will not be able to have two for the main domain (mysticalhcf.org). Even with an SRV record, you have to use a subdomain apart from the main domain.
 
Status
This thread has been locked.
Top