Our search function may intermittently fail to display results. If this happens, try refreshing the page, as this usually resolves the issue. We’re working on a permanent fix. Thank you for your patience!
Welcome Discount! To welcome new users, all new orders will receive 25% off their first month! This means it’s easier than ever to upgrade or try out our cutting-edge game server hosting. Join our Discord and be part of our community!
Network - 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.
With a reverse proxy, you 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 is important to note that this method does not apply to the game itself; you will need to set up an SRV record. See Use a Custom Domain or Subdomain for instructions.
Access the 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.
Navigate to 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 create the A record required for the reverse proxy to function.
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
- Log in to the panel. See Access the Panel for instructions.
- Go to the 1 Network tab.
- Click the 2 Proxy tab.
- Click the 3 Create Proxy button.
Configure Proxy
- 1 In the pop-up, 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 Allocation drop-down and select the 2 port you want to reverse proxy for.
- Click 3 Create.
Check your Setup
- When you navigate to the proxy domain, you should see your web app without the 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.