🚀 UltraServers Relaunch We're thrilled to announce the relaunch of our service with a brand-new, streamlined panel designed to enhance your gaming experience. Join our Discord for more information, lifetime discounts and to take part in our $175 raffle to win Steam gift cards.
Set up a Reverse Proxy
This guide will show you how to set up a reverse proxy for your Minecraft server. We will use Cloudflare in this example, but the steps will be similar for any domain provider. By doing this, we can redirect HTTP traffic from a specific domain (e.g., squaremap.example.net) to the correct port on your server, making it easier for users to access specific resources, like a Minecraft map plugin. It’s important to note that this method doesn’t apply to the game itself; you’ll need to set up an SRV record. See Use a Custom Domain or Subdomain for instructions.
Access Cloudflare Dashboard
For this guide, we will use Cloudflare as an example. The instructions may be different for other domain service providers. Always refer to your specific provider.
- Navigate to Cloudflare and log in to your account.
Access the DNS Settings
- Click on the domain to configure.
- Click on the 1 DNS option on the navigation bar.
- Click 2 Records.
- This is where you will be creating the A record needed for the reverse proxy to work.
Create an A record
- Click on 1 + Add record.
- From the drop-down, select 2 A record.
- In the 3 Name field, enter the subdomain you want to use.
- For example,
map
if you are going to createmap.ultraservers.com
. - In the 4 Target field, enter the Server’s IP address.
- For the sake of this guide, we’ll use
149.40.59.139
. - Disable 5 proxy status.
- This step is specific for Cloudflare, so you may ignore it if it's not applicable. We do not want Cloudflare to proxy any traffic; otherwise, the reverse proxy will not work.
- 6 Click on Save.
Create the Proxy
- Login to the panel. See Access the Panel for instructions.
- Go to the 1 Proxy tab.
- Click the 2 Create Proxy button.
Configure Proxy
- 1 In the popup, enter the entire domain you set up in Cloudflare.
- For example,
map.ultraservers.com
. - Toggle Enable SSL to create a certificate for this proxy.
- (Optional) Toggle Use Let’s Encrypt to generate an SSL certificate via Let’s Encrypt.
- Click on the 2 Allocation drop-down and select the 3 port you want to reverse proxy for.
- Click 4 Create.
Check your Setup
- When you navigate to the proxy domain, you should see your web app without the port.
- Please note that while this will work for HTTP traffic (like a web-based Minecraft map plugin), it will not work for Minecraft game traffic. For that, you need to set up an SRV record in your DNS settings, instructing game clients on connecting to your server at the correct port.
If you require further assistance, you can open a support ticket here.
Feedback and suggestions can be submitted here, or further discussed on our Discord server.