-
Notifications
You must be signed in to change notification settings - Fork 8
Subdomains
Mubeen142 edited this page Feb 20, 2022
·
3 revisions
Subdomains allow users to set a domain for their server to connect through. In traditional Pterodactyl, users have to conenct through a IP-address to their server, for example 123.456.78:26623
- Subdomains allow your users to connect to their server with a simple domain, for example woodmc.panel.net
You can add as many domains as you wish, the user can select their preffered one through a dropdown menu. You can also configure subdomains per plan in the plan admin settings.
Note: The subdomain feature only works with CloudFlare.
- Install SDK:
cd /var/www/pterodactyl && composer require cloudflare/sdk
- Head to Admin area -> Billing -> Domain -> API Settings -> Create New
- Enter the details:
- Account Email: Your CloudFlare Email Address
- Domain: The domain you want to use, such as
example.com
don't include https - Zone ID: Cloudflare Dashboard -> Select Domain -> Zone ID (Located Bottom Right)
- Global API Key: Can be found here: https://dash.cloudflare.com/profile/api-tokens
- You're good to go
Please select an item from the right sidebar to get the docs on. Our discord: https://discord.gg/vertisan-760945720470667294