Dynmap is a Minecraft plugin that generates a live, interactive, web-based map of the game world. By default, this map is accessed through a web browser using the server's raw IP address and a specific port number. Exposing the direct server IP can introduce security vulnerabilities. A reverse proxy is a way to hide the IP address, acting as a secure middleman between the web browser and the Minecraft server. When the map is opened, web traffic connects only to the proxy, which safely fetches the map data behind the scenes without ever revealing the server's true location.
Requirement: Dynmap must be installed and set up on the server. Learn how to here.
Note: Learn how to purchase a custom domain here.
| Table of Contents |
|---|
| Free Subdomain |
| Servers without a Dedicated IP |
| Servers with a Dedicated IP |
How to Hide the Dynmap IP on a Minecraft Server (Free Subdomain)
1. Log in to the BisectHosting Starbase panel.
2. Stop the server.
3. Go to the Files tab.
4. Find the following directory: /home/container/plugins/dynmap
5. Open the configuration.txt file.
6. On the webserver-port: line, copy the port.
7. Go to the Network tab.
8. Under Subdomain, click Edit.
Note: If a subdomain has already been created, skip to step 11.
9. Enter a subdomain name, choose a domain, and hit Save.
10. Click Confirm.
11. Under Configure Reverse Proxy, input the subdomain and the port from step 6.
12. Click Create.
13. Start the server.
14. View the Dynmap by visiting http://SUBDOMAIN.
How to Hide the Dynmap IP on a Minecraft Server (Custom Domain SRV Record)
1. Log in to the BisectHosting Starbase panel.
2. Take note of the IP Address.
3. Log in to the BisectHosting Billing panel.
4. Select the Domains tab and choose My Domains.
5. Pick a domain.
6. Under Hosting Information, click DNS Management.
7. Click Add A New A Record.
8. In the Hostname field, input a hostname prefix.
9. In the IPv4 Address field, enter the IP address from step 2 without the port.
10. In the TTL field, input 14400. Other values can be used if familiar with TTL.
11. Click Add Record.
12. Under the DNS Management panel, select Manage SRV Records.
13. Click Add A New SRV Record.
14. Fill out the SRV Record fields:
-
Service Record:
_minecraft._tcp - Full Target Name: The full Hostname from step 8.
-
TTL:
14400 -
Priority:
0 -
Weight:
5 - Port: The Minecraft server port from step 2.
Note: Other values can be used if the user is familiar with the relevant fields.
15. Click Add Record. The DNS may take some time to update.
16. Return to the BisectHosting Starbase panel.
17. Stop the server.
18. Go to the Files tab.
19. Find the following directory: /home/container/plugins/dynmap
20. Open the configuration.txt file.
21. On the webserver-port: line, copy the port.
22. Go to the Network tab.
23. Under Configure Reverse Proxy, input the custom domain and the port from step 21.
24. Click Create.
25. Start the server.
26. View the Dynmap by visiting http://CUSTOMDOMAIN.
How to Hide the Dynmap IP on a Minecraft Server (Custom Domain A Record)
1. Log in to the BisectHosting Starbase panel.
2. Take note of the IP Address.
3. Log in to the BisectHosting Billing panel.
4. Select the Domains tab and choose My Domains.
5. Pick a domain.
6. Under Hosting Information, click DNS Management.
7. Click Add A New A Record.
8. In the Hostname field, input a hostname prefix.
9. In the IPv4 Address field, enter the IP address from step 2 without the port.
10. In the TTL field, input 14400. Other values can be used if familiar with TTL.
11. Click Add Record. The DNS may take some time to update.
12. Return to the BisectHosting Starbase panel.
13. Stop the server.
14. Go to the Files tab.
15. Find the following directory: /home/container/plugins/dynmap
16. Open the configuration.txt file.
17. On the webserver-port: line, copy the port.
18. Go to the Network tab.
19. Under Configure Reverse Proxy, input the custom domain and the port from step 17.
20. Click Create.
21. Start the server.
22. View the Dynmap by visiting http://CUSTOMDOMAIN.