#Cant setup dynmap to work online with the dns

1 messages · Page 1 of 1 (latest)

glossy umbra
#

Hello, so i ran into a problem and it is confusing to fix, so i am hosting a minecraft server from a server hosting provider i.e. oracle cloud, ht-hosting etc. and i used pterodactyl to setup the minecraft servers. I bought a domain from godaddy and im using cloudflare for routing ip address. So th problem happens when trying to setup the port and the domain for dynmap to work. I did all the necessary port changing in config.txt in dynmap config, i have the port for said dynmap and dynmap wors when using numerical ip. For example i wont give my ip, but if i use for example 123.132.123.32:[port number] i get routed to the dynmap and it works, but when i use my domain, which i setup in cloudflare, it doesnt work. i just get 404 page not found. I did all the necessary subdomains openings, i gave it the subdomain name, with proxy being disabled meaning [dns only] with record A, and i did the SRV filtering as well, and it is still not giving me the map on my domain. i.e map.domain.com.

It would be highly appreciated if i could get any help. I tried youtube, and they are showing only for minecraft servers like pebble or apex hosting, i tried dynmap github, wiki and still a brick wall, now i come to devs hoping i can get any help.

Thanks in advance!

mental boughBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

clever bay
#

This really doesn't qualify as a Dynmap issue,.. Also looking at your description i would say it is set up incorrectly, All you need for DNS is an A record for map that points to the IP of your dynmap instance. You will still need to tell people to use map.mydomain.com:port, unless you can setup a a reverse proxy.

#

You might be able to accomplish what you need with CloudFlare Page Rules

https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/#h_60566325041543261564371

The idea is that a you point your A record at your proxy. Setup rules 'if URI was map.mydomain.com, forward to x.x.x.x on port 25775'. This way your users do not need to specify the port, the reverse proxy handles it.

Cloudflare Docs

When you add a new site to Cloudflare, Cloudflare automatically scans for common records and adds them to the DNS zone. The records show up under the respective zone DNS > Records page.

glossy umbra
#

yeah i fiddled with config now and i managed to get it to work by using map.mydomain.com:port

#

i will inspect the documentation you provided..thanks for the help 😄

glossy umbra
#

i managed to fix it