Skip to content

FAQ and troubleshooting

Questions

Does it work with DNS providers other than Cloudflare?

No. The addon only talks to the Cloudflare API.

Is it only for Minecraft servers?

No, but the default record template is made for Minecraft: it creates an A record and a _minecraft._tcp SRV record. For other games, edit the template of the domain. See DNS record template.

Can I set a different limit for one server or one customer?

No. Max Subdomains Per Server is one value for all servers.

Can I allow unlimited subdomains?

No. The hint under the field says 0 means unlimited, but in the code 0 blocks all new subdomains. Enter a high number instead.

Can I use several domains?

Yes. Add each one under Add New Domain with its own zone ID and eggs. All domains use the same Cloudflare token, so the token must be allowed to edit every zone.

Can I block names that contain a word?

No. The Word Blacklist blocks only names that are exactly equal to a listed word, ignoring upper and lower case.

Can a customer rename a subdomain or move it to another domain?

No. Only the allocation can be changed. To change the name or the domain, the customer deletes the subdomain and creates a new one.

Can I delete a customer's subdomain as an administrator?

Not on the Subdomain Manager admin page. Open the server's Subdomains tab as an administrator, or use the DELETE endpoint of the application API.

Are the records proxied through Cloudflare?

Not with the default template. Its A record has "proxied": false.

What happens to the DNS records when a server is deleted?

A queued job removes them from Cloudflare, provided you added the line to ServerDeletionService.php during installation and the queue worker is running. See When DNS records are removed.

Does a panel update remove the addon?

A panel update replaces the core files you edited. The addon's own files and tables stay, but you have to repeat the edits and the front-end build. See Installation.

Troubleshooting

The Subdomains tab does not appear

The front end was not rebuilt after you edited resources/scripts/routers/routes.ts. Run yarn build:production in the panel directory and reload the page. Subusers also need the permission subdomains.read.

"Failed to connect to Cloudflare API."

Cloudflare did not answer the zone list request with a success status. Check that the saved value is an API token (not the Global API Key), that it is complete and active, and that the panel host can reach api.cloudflare.com.

The settings do not save

Cloudflare API Token / Global API Key is required on every save, and Max Subdomains Per Server must be a whole number of 0 or more. Leave <hidden> in the token field if you do not want to change the token.

The limit went back to 5

After you save a limit of 0, the field shows 5. Saving the form again without changing the field stores 5.

The Create Subdomain button is greyed out

No domain is enabled for the server's egg. Edit the domain and select the egg under Enabled Eggs.

The Create Subdomain button is missing

The server has reached Max Subdomains Per Server, the limit is 0, or the user is a subuser without the permission subdomains.create.

"This subdomain is already in use."

The panel shows this message for every failure while storing the subdomain or sending the records to Cloudflare. Possible causes:

  • The name already exists on this domain. This includes subdomains of deleted servers that have not been cleaned up yet.
  • Cloudflare refused the request: the token is missing or has no permission for the zone, the zone ID of the domain is wrong, a record with the same name already exists in the zone, the name is not valid, or the domain's record template contains something Cloudflare does not accept.

The Cloudflare answer is written to the panel log (storage/logs). Look there for "Failed to batch update DNS records".

"Subdomain limit reached." or "This subdomain is reserved or blacklisted."

The server has as many subdomains as Max Subdomains Per Server allows, or the name is on the Word Blacklist.

"Failed to delete subdomain."

The Cloudflare call to find or delete the records failed. The subdomain is kept so that you can try again. Check the token with Test Connection.

Too many requests

Creating, updating and deleting are limited to five requests per minute. Wait a minute and try again.

Records stay at Cloudflare after a server or domain was deleted

  • The queue worker is not running, or the job failed. Check the panel's failed jobs and the log.
  • The line in app/Services/Servers/ServerDeletionService.php is missing, for example after a panel update. Add it again. The next run of the job also cleans up subdomains of servers deleted in the meantime.
  • The records were created from a template without "comment": "{comment}". The addon cannot find such records. Delete them in the Cloudflare dashboard.

Deleting a server fails after installing the addon

Check the line you added to ServerDeletionService.php. The table name must be subdomain_records. The addon's README uses server_subdomains, a table that does not exist.

A subdomain created through the application API has no DNS records

Cloudflare rejected the request and the API answered with status 500. The subdomain is still stored in the panel. Delete it with the DELETE endpoint, fix the cause and create it again.