#DNS changes to access to the map

1 messages · Page 1 of 1 (latest)

gentle jackal
#

Hello,

I have set a subdomain http://mc.domain.com to a folder of my hosting which displays a website. I added an SRV entry to the DNS lists to use the same subdomain for the Minecraft server. Although, when I write http://mc.domain.com:8123, I get the error ERR_CONNECTION_TIMED_OUT. Would anyone know what DNS entry to add to be able to view Dynmap or which setting to change in the configurations files?

Thanks!

PS: if possible, I'd like to change the http://mc.domain.com:8123 to http://mc.domain.com/dynmap.

astral inletBOT
#

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!

twin mango
#

you cannot use a srv for dynmap, needs to be an A record

gentle jackal
#

The A record leads to a folder on my hosting provider storage (non Minecraft one)

twin mango
#

if you can set up an external webserver on a different machine, yes

twin mango
gentle jackal
#

I set the A to my external web server where I have some web pages hosted. That's why I can't set an other A entry to the Minecraft server where Dynmap is hosted right now

gentle jackal
#

although, it says this below as a requirment so i'm not sure it can work. Although, all the data is stored inside a database

You have the standalone web server and CraftBukkit running on the same machine

gentle jackal
twin mango
#

did you install php-fpm and php-mysqli?

#

check the webserver logs for errors

gentle jackal
#

It's PHP 8.2 with both installed and active in phpinfo()

#

you mean the logs of the server hosting Dynmap or the one hosting Minecraft?

twin mango
#

the webserver logs

gentle jackal
#

what type of line I could expect?

#

from what I see, there are:

  • HTTP/1.1" 304 for several .ico, JS and CSS files
  • HTTP/1.1" 500 for standalone/MySQL_configuration.php
  • HTTP/1.1" 200 1043 for the web folder
twin mango
#

that is still in your f12 console, I meant check the logs of your nginx / apache2 webserver

gentle jackal
#

that's the logs of the servers (F12 shows nothing)

#

I was wondering if this line could be the issue:

define('HOSTNAME', 'http://localhost:8123/up/');

I tried to search on the GitHub repo but I don't get what it does (it's in web/up.php)

twin mango
#

what is the reason behind the mysql_configuration.php error?

gentle jackal
#

so after testing several things, it seems that the issue came from the PHP version. It doesn't work on PHP 8.x and getting to 7.x made it work and iget bat at that error:

Web files are not matched with plugin version: All files need to be same version (undefined) - try refreshing browser cache (shift-reload)

twin mango
#

what is the new error.log of the webserver?

gentle jackal
#

I still have the same issues in the log. For the `mysql_configuration.php`:

IPv6 sd.dom.ext- [16/Jan/2024:21:45:56 +0100] "GET /carte/standalone/MySQL_configuration.php HTTP/1.1" 200 29 "http://sd.dom.ext/dynmap/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"

astral inletBOT
twin mango
#

without seeing full logs I cannot really help, this is not enough data for me to be helpful

gentle jackal
twin mango
#

that is not an actual log file, so not of use for me

gentle jackal
#

I don't get where else i can get logs for the server

twin mango
#

what webserver type are you using?

gentle jackal
#

a mutualized hosting

twin mango
#

that's a usefull answer

gentle jackal
#

what do you mean?

#

i'm not sure it's sarcasm, but anyway, it's a mutualized hosting with OVH

twin mango
#

that is the server, I need to see the actual nginx/apace2 logs, not some teeny tiny snippet gotten from you, stuff like a vague 500 error don't help.

gentle jackal
#

that's the only logs access I seem to have. I'll search more if I can get any other acces to logs

gentle jackal
#

I found this issue on GitHub: https://github.com/webbukkit/dynmap/issues/2848 so I set false this line in MySQL_config.php:

$loginenabled = false;

The error disappears and the worlds are shown in the drawer. Although, the map takes a long time to display. Is it normal? Also, is it normal that the login doesn't work? If I could help anyway fixing the bug, I'd gladly help