Skip to content

Cloudflare Configuration

This guide walks you through configuring Cloudflare DNS and SSL correctly for a panel and node setup. Please follow each step in order.

Step-by-step guide5 steps
  1. Step 0

    If you did not do so far, please create an account on Cloudflare.

  2. Step 1

    Extra information

    An A-record connects a subdomain to an IP address. For example wiki.casper-rs.dev pointing to your VPS.

    When you are sure your domain is correctly setup, go to the left navigation menu and find the DNS section.
    Next, we are going to add an A-record to your desired domain.
    This A-record will be used to host our pterodactyl panel website.

    Type: A
    Name: panel
    IP: <SERVER_IP>
    Proxy: Enabled (Orange Cloud)
  3. Step 2

    Important!

    The A-record for wings should never be proxied through Cloudflare. Leave it on DNS only (gray cloud).

    Next up, create another A-record called node, exactly how you did in the previous step.
    This A-record will be used to host your actual minecraft servers (Wings).

    Type: A
    Name: node
    IP: <SERVER_IP>
    Proxy: Disabled (Gray Cloud)
  4. Step 3

    Go to SSL/TLS → Overview and change the encryption mode to Full.

  5. Step 4

    Go to SSL/TLS → Origin Server and create a certificate.

    Key Type: RSA (2048)
    HostName: panel.yourdomain.com
    Validity: 15 years
Next step: Configure the server to use SSL

Continue with configuring the generated SSL from CloudFlare.