This guide walks you through configuring Cloudflare DNS and SSL correctly for a panel and node setup. Please follow each step in order.
If you did not purchase a domain via Cloudflare, make sure you change your nameservers to the Cloudflare nameservers. These can be found in the DNS section under the Records tab.
More information about adding an existing domain to Cloudflare can be found on the Cloudflare documentation .
An A-record connects a subdomain to an IP address. For example wiki.casper-rs.dev pointing to your VPS.
wiki.casper-rs.dev
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)
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)
Go to SSL/TLS → Overview and change the encryption mode to Full.
SSL/TLS → Overview
Full
Go to SSL/TLS → Origin Server and create a certificate.
SSL/TLS → Origin Server
Key Type: RSA (2048) HostName: panel.yourdomain.com Validity: 15 years
Continue with configuring the generated SSL from CloudFlare.