LogoLogo
DiscordPanelPricing
  • TCPShield
  • FAQ
  • Commonly asked questions
  • Features
  • Contact
  • Billing
  • Vxlan
    • VXLAN Features
    • VXLAN Tunnel Setup Guide
    • Common issues and Debugging
  • Premium Features
    • Asia Network
    • Geyser
    • Panel Features
  • Panel
    • Setup Process
    • Panel Configuration
    • DNS Setup
    • TCPShield Plugin
  • Troubleshooting
    • Setup Checklist
    • Invalid Hostname
    • Disconnected on Login
    • High Latency and General Lag
    • How to Read a Traceroute
    • Connection Complaint Policy
  • Miscellaneous
    • TCPShield API
    • Protect a website
    • Wildcard DNS
    • Protect a home hosted server
    • Account sharing
    • Transfer Packets
  • Useful Links
  • TCPShield Panel
Powered by GitBook
LogoLogo

Useful links

  • Pricing
  • Twitter
  • Contact

Need help?

  • Discord
  • Network Status

Panel

  • Sign Up
  • Login
On this page
  • Step 1: Login and remove existing records
  • Step 2: Add your web server IP
  • Step 3: Create the SRV record

Was this helpful?

  1. Miscellaneous

Protect a website

Using Cloudflare for web and TCPShield for Minecraft

PreviousTCPShield APINextWildcard DNS

Last updated 8 months ago

Was this helpful?

This guide will show how to have a website protected with Cloudflare and a Minecraft protected with TCPShield. This guide assumes you have a domain on Cloudflare already.

Step 1: Login and remove existing records

First, we need to protect our web server with Cloudflare. Let's log into Cloudflare and do that.

Now we will add our web server to Cloudflare. First we need to see if there are any DNS records already pointed to @ (the base domain) or www.

This guide will assume example.com is my domain

Step 2: Add your web server IP

Now, we will add our web server to cloudflare and proxy it. We can do that like this.

If you would like www. to work as well, do the same thing again but replace @ with www

Step 3: Create the SRV record

Now we have protected our website on Cloudflare! Now we will make sure players can still connect with example.com using no subdomain.

Step 3.1: Point TCPShield CNAME to a target

Create a new DNS record like this

Step 3.2: Create the SRV

Now we make it so example.com takes you to your server on Minecraft. Copy the steps below.

IMPORTANT: The port on the SRV record has to be 25565. That's the port TCPShield is listening on, not your backend port.

Step 3.3: Done

It's as easy as one two three.

Click here when you login
127.0.0.1 is an example in this case
Click here
Create the new DNS record
Create a new DNS record for the target
Copy the settings above