Admin panel
Branding and API
What this does: the Branding and API group puts your own name, logo, look and languages on the panels and the store, adds signed add-ons, and lets other programs talk to your server. It is also where you find your freePanel Licence (the last tool of the group).
When you need it: when you set up your business on the server, when you connect a billing system or a script, and when you renew or move your licence.
To open a tool of this group, sign in to the admin panel, click Branding and API in the menu on the left, then click the tool's name. Two words come up on several pages:
- The API is the panel's door for programs. API stands for "application programming interface": instead of a person clicking, a script or a billing system sends requests to the panel and reads its answers.
- A token is a long secret code that lets a program use the API without your password. Anyone who has it can do what it allows, so keep it as safe as a password.
- A key means different things on different pages. Your licence key (starts
FP1.) proves you may use freePanel. A plugin author's public key (44 characters) proves who made a plugin. An API token is a different thing again, even if a program calls it an "API key". Each section says which one it means.
Branding
What this does: shows your own name, help link and logo on every panel and sign-in page instead of freePanel's.
When you need it: when you set up your hosting business, so your customers see your brand.
Where: Branding and API > Branding
To set your name and help link
- Open Branding and API > Branding.
- In Name, type your business name, for example
Example Hosting. Leave it empty to show freePanel. - In Help link, type where the panels' Help link should go: a web address that starts with
https://, such ashttps://help.example.com, ormailto:followed by one email address, such asmailto:help@example.com. - Click Save. The page says "Saved. Every panel shows it from the next page it opens."

To upload your logo
- Make your logo a PNG or JPEG picture of at most 256 KB and at most 1024 pixels on each side. A wide logo about 40 pixels high fits best.
- In Logo, click Choose File under Logo file (it reads New logo file when you have a logo already) and choose the picture on your computer.
- Click Upload logo. The page says "The new logo is on every panel now." and shows it under The logo the panels show now.

To go back to showing your name, click Remove logo, then confirm.
If something goes wrong
- If you see "Enter an https:// address, or mailto: followed by one email address.", the help link must start with
https://ormailto:. - If you see "This isn't a PNG or JPEG picture.", save the logo as PNG or JPEG and try again.
- If you see "The file is larger than 256 KB.", make the picture smaller in an image editor.
- If you see "The picture is … pixels; each side can be at most 1024.", resize the picture.
Resellers can set their own branding for their customers in Resellers > Reseller branding, if you allow it.
Themes
What this does: changes the look of your storefront and client area (the pages where your customers buy hosting and pay their bills). A theme is a package of page designs. You upload one as a zip file, preview it, and then make it the one visitors see.
When you need it: when you want your store to look like the rest of your website.
Where: Branding and API > Themes
What visitors see at the top says which theme is live now, and which one was live before it.

To upload a theme
- Open Branding and API > Themes and go to Upload a theme.
- Click the Theme zip box and choose the theme's zip file on your computer, for example
harbour-1.0.0.zip. It can be at most 16 MiB. - Click Upload and check. The theme is checked before anything is installed. When it passes, the page says it is installed.

To preview a theme and make it live
- In Installed themes, find the theme, for example Harbour 1.0.0, the one you just uploaded.
- Click Preview. The theme opens in a new browser tab so you can look at it. Visitors don't see it yet.
- Click Activate, then Yes, activate. Visitors see the new theme at once.

To go back to the theme that was live before, click Roll back in What visitors see, then Yes, roll back. Rolling back again undoes it.
To make your own theme, click Download the theme kit in Make your own theme. It is the built-in theme as a zip, with a guide. Unzip it and change it. Then open the file theme.json in the theme's folder and change two lines: "id" (a short name of your own in small letters, such as "harbour") and "version" (such as "1.0.0"). Zip the folder again and upload it. To upload a newer version later, raise the version number in theme.json.
If something goes wrong
- If you see "The theme was not installed: its check found … problems.", each problem is listed with the file and line. Fix them in the theme, then upload it again.
- If a theme says "It asks for scripts that are not enabled.", click Choose the theme scripts and enable the scripts you trust on Theme scripts.
- If you see "The active theme, …, does not pass its check now, so the default theme is shown instead:", fix what is listed, or activate another theme.
- If you see "A theme is uploaded as a .zip file.", choose a
.zipfile.
Store themes
What this does: lets a reseller change the look of its own store, and the colour of the hosting panel its customers sign in to. A reseller is a customer of yours who sells hosting to customers of their own.
When you need it: you don't use this tool yourself. It is for your resellers: they see it in their own panel. (The Themes tool above is the one for your own store.) This section helps you answer their questions.
Where: Branding and API > Store themes (in a reseller's panel)
To change the look of a reseller's store (done by the reseller)
- The reseller opens Branding and API > Store themes in their panel.
- In Your themes, they click Preview on a theme to look at it, then Activate and Yes, activate. (The active theme has no Activate button.) Use this under The server's theme goes back to your theme, under their own name and logo.
- To upload a theme of their own, they use Upload a theme, just as on Themes.

To set the colour of a reseller's customers' panel (done by the reseller)
- In Your customers' panel colour, the reseller clicks the colour box under Brand colour and picks a colour.
- They click Save colour. Their customers see the new colour at once.
- To go back to the panel's own colours, they click Use the panel's own. This button appears only once a colour is saved.

If something goes wrong
- If the reseller sees "Your host has not let you set your own branding, so your customers see the panel's own colours.", you have not given them the branding right. Give it in Resellers > Reseller rights.
- If the reseller sees "Your active theme, …, does not pass its check now", their store shows your theme until they fix theirs.
Theme scripts
What this does: chooses which outside scripts your themes may load. A script is a small program that runs in your visitors' browsers, such as a chat window or a payment widget. A theme can load a script only when it asks for it and you enable it here.
When you need it: when a theme you uploaded says it asks for scripts that are not enabled.
Where: Branding and API > Theme scripts
To enable a script a theme asks for
- Open Branding and API > Theme scripts. Scripts the themes ask for lists each script's address and which theme asks for it.
- Tick the script, but only if you trust whoever runs it: it will run in every visitor's browser.
- Click Save. The page says "Saved. The active theme was checked again."

To enable a script before you upload the theme that needs it, type its address in Enable another URL (it must start with https://) and click Save.
If something goes wrong
- If you see "Saved. The active theme needs a script that is off now, so the default theme is shown until it is enabled again.", you unticked a script the live theme needs. Tick it again, or activate another theme.
- If you see "That URL is already in the list.", tick it in the list instead.
Languages
What this does: chooses which translations the panels offer, and the language people see until they choose their own.
When you need it: when most of your customers speak a language other than English.
Where: Branding and API > Languages
To offer a language and make it the default
- Open Branding and API > Languages.
- In Translations offered, tick each language your customers may choose, for example Español. English is always offered. Each line says how many texts are translated.
- In Default language, choose the language for everyone who has not chosen one, and for the sign-in page.
- Click Save. The page says "Saved."

A language you stop offering disappears from the list. People who chose it get it back if you offer it again.
If something goes wrong
- If you see "The panels carry no translations yet, so every page is in English.", this version has no translations to offer.
- Texts that a translation hasn't covered yet are shown in English.
Plugins
What this does: adds signed add-ons that put new pages in your admin panel. A plugin is a package made by someone else. It is signed: the author marks it with a key, so you can be sure who made it and that nobody changed it. You decide whose keys you trust, and you approve exactly what each plugin asks to do.
When you need it: when a company you work with gives you a freePanel plugin, for example to show their service's status in your panel.
Where: Branding and API > Plugins
Installing a plugin has four steps: trust the author's key, upload the package, approve what it asks for, and turn it on.
To trust a plugin author's key
- Get the author's public key from the author directly (for example from their website), not from the package. It is 44 characters long.
- Open Branding and API > Plugins and go to Trusted keys. In Name for this key, type a name you will recognise, for example
Example Studio. - In Public key, paste the key.
- Type your own password in Your password.
- Click Trust this key. The page says "You now trust the key "Example Studio"."

Only trust a key when you know whose it is. Its owner can sign plugins that you then read and approve.
Afterwards the panel names the key by a short code of 16 letters and digits, for example Signed by Example Studio, key b44efdc6bab6e171. That short code is an ID worked out from the key (its fingerprint), not the key itself, so it never matches the 44 characters you pasted. To compare, ask the author for the key's fingerprint.
To install a plugin
- Trust the author's key first (see above).
- In Install a plugin, click the Plugin package box and choose the plugin file (it ends in
.fpplugin). - Click Check and install. The server checks the signature before it reads anything from the package. The page then says the plugin is installed and asks you to approve its permissions.

To approve a plugin and turn it on
- In Installed plugins, read each permission the plugin asks for. You approve exactly this list.
- Type your own password in Your password.
- Click Approve these 2 permissions (the button counts them). The page says the plugin is approved.

- Type your password again in Your password.
- Click Turn on. The page says the plugin is on, and its pages appear in the panel.

To stop a plugin, click Turn off. To remove it and its files, click Remove, then confirm.
If something goes wrong
- If you see "Trust a key first: a package can only be installed if a key you trust signed it.", add the author's key under Trusted keys.
- If you see "That is not a public key", copy the whole key again: 44 characters ending in
=. - If you see "The key that signed this version is not trusted", you removed the author's key. Trust it again, or install a version signed by a key you trust.
- If a plugin with a program shows "Confirm on the server", it also needs root's approval on the server, typed in the server's terminal (see To confirm a plugin on the server below).
To confirm a plugin on the server
Only a plugin that shows Confirm on the server needs this.
- In Installed plugins, find the plugin and its Confirm on the server box. It shows the exact commands for this plugin.
- Sign in to the server's terminal as root (see the box above).
- Copy each command from the page, paste it in the terminal and press Enter, one after the other.
- Go back to the panel and reload the page. The plugin's program can now run.
API reference
What this does: shows the full reference of the panel's API, as it is for the version running on your server: every route, what it takes and what it answers. A route is one address of the API, such as GET /server/status.
When you need it: when you or a developer write a script or connect a billing system to the panel.
Where: Branding and API > API reference
To find a route
- Open Branding and API > API reference.
- In Search the reference, type at least two characters, for example
API tokens. The sections that hold the words are listed. Press Escape to clear it. - Or choose a part of the reference in Section, then use Next section and Previous section to move through it.

If something goes wrong
- If you see "This build does not carry the API reference.", this freePanel version came without it. Upgrade freePanel.
- If you see "Type a little more to search.", type at least two characters.
API shell
What this does: lets you try the API as yourself, in the browser: choose a route, send it and read the answer. It can also copy the request as a curl command. curl is a small program that sends web requests from a terminal (the text window where you type commands on a computer or server).
When you need it: before you write a script, to see what a route answers.
Where: Branding and API > API shell
To try a route
- Open Branding and API > API shell.
- In Route, choose a route, for example GET /server/status. To find one, type part of it in Find a route.
- Click Send.

- Read the Answer: the status (
200 OKmeans it worked), the headers (extra lines of information sent with the answer), and the body. The body is in JSON, the plain-text format the API uses: names in quotes, each followed by its value.
The answer names the full address,
/api/v1/server/status. The route list leaves out the/api/v1at the start, which every route has.
A request that changes something (anything but GET) asks first: click Send it to go ahead, or Don't send. It works exactly as if you made the change on its page.
To get the same request as a command, click Copy as curl. Put an API token in place of the token mark in the command; your sign-in is never copied.
If something goes wrong
- If you see "Fill in the path part …", the route has a part in braces, such as
{name}. Fill in its box. - If you see "The body is not valid JSON:", check the brackets and quotation marks of what you typed in JSON body.
- If a route you expected isn't listed, it answers with a secret (a token, a code or a sign-in link). Use its own page instead.
API tokens
What this does: makes tokens that let a script or a billing system use the panel's API without signing in. Each token is yours, ends on a date, and can be limited to the addresses it may be used from.
When you need it: when you connect a billing system, a monitoring tool or your own script to the panel.
Where: Branding and API > API tokens
To make a token
- Open Branding and API > API tokens and go to Make a token.
- In Name, type what the token is for, for example
Uptime monitor. Each name is used once. - In What it may do, choose Read only unless the program must change things.
- Read only can't change anything. But it can read a lot: the logs, the audit log, and the files and backups of every account. Keep it as private as a password.
- Full may do what you can do in the panel, except what makes or protects a way in: sign-in, passwords, two-factor, API tokens, event hooks, root access, the licence, logins, resellers, team members and set-up. Everything else, such as making and removing accounts, it can do.
- In Valid for (days), type how long it works, for example
90. It is not renewed. - In Addresses it may be used from, type the program's address or range, one per line, for example
203.0.113.0/24. Leave it empty for any address. - Type your own password in Your password.
- Click Make token.

- The token is shown this once. Click Copy the token and paste it where your program keeps its secrets.
- Click I have copied it.

Using a token at the bottom of the page shows an example. Whoever sets up the program puts the token in its settings; see What a request looks like below.
What a request looks like
A program talks to the API by sending requests. Each request has three parts:
- A method: the kind of request.
GET(andHEAD) only reads.POST,PUT,PATCHandDELETEchange something. A Read only token may useGETandHEADonly. - An address: the admin panel's address, then
/api/v1, then the route. The API reference and the API shell write routes short, such as/server/status; the full address ishttps://server.example.com:7443/api/v1/server/status. - Headers: short lines of extra information sent with the request. The token goes in the header called
Authorization, after the wordBearerand a space:Authorization: Bearer fpt_….
For example, this command (typed in a terminal) asks for the server's status with a token:
curl -H "Authorization: Bearer fpt_…" https://server.example.com:7443/api/v1/server/status
To revoke a token
- In Your tokens, find the token. Each shows what it may do, when it ends, when it was last used and from where.
- Click Revoke on the token, then confirm. Anything that uses it stops working at once.

A new password ends all your tokens: make new ones after you change it. If a token may have leaked, revoke it.
If something goes wrong
- If your program gets the answer 401, the token is missing, wrong, ended, revoked or used from an address it isn't allowed from. The answer is the same for all of these, so check each one.
- If your program gets the answer 429, too many wrong tokens came from its address. Wait a while.
- If you see "You have the most tokens there can be (20). Revoke one to make another.", revoke a token you no longer use.
- If you lost a token, it can't be shown again. Revoke it and make another.
Event hooks
What this does: tells another system when something is done on this server, for example when an account is made. Each hook is a web address that gets one signed request for every action you chose. "Signed" means the request carries a code made with a secret, so the receiver knows it came from your server.
When you need it: when a billing system, a chat channel or your own tool should hear about changes at once, without asking the panel again and again.
The other side (the "receiver") is a web address run by that other system. Whoever runs it sets it up to accept the requests and check them with the secret; you only give them the address's details and the secret. If you don't run the receiving system yourself, ask its provider for the address to use.
Where: Branding and API > Event hooks
To make a hook
- Open Branding and API > Event hooks and go to Make a hook.
- In Name, type what the hook is for, for example
Status page. - In Address, type the https address that receives the requests, for example
https://status.example.com/hooks/freepanel. - In Actions, type one action per line, for example
account.create.account.*means every account action, and*means everything. The names are the ones in the Audit log. - Leave Send as soon as it is made ticked.
- Type your own password in Your password.
- Click Make hook.

- The signing secret is shown this once. Click Copy the secret and give it to whoever runs the receiving system (or paste it in its settings yourself).
- Click I have copied it.

To check that a hook works
- Open Branding and API > Event hooks and find the hook in Your hooks.
- Click Send a test on the hook.
- Read the message. "The test was delivered: the address answered 204 in … ms." means it works. The number is the code the receiving address answered with: any code from 200 to 299 means "received" (204 is one of them). A code of 400 or more, such as 500, means the receiving system had a problem.

Deliveries shows what was sent recently. Turn off stops a hook without removing it; actions that happen while it is off are never sent. New secret replaces the secret; the old one stops working at once.
If something goes wrong
- If you see "The test was not delivered:", read the reason. Check the address, and that the receiving system is running and answers with a code from 200 to 299, which means success.
- If you see "Enter the https address that is to receive the requests.", the address must start with
https://. It can't be this server or its own network. - If you see "Name at least one action, such as account.* or backup.pass.", fill in Actions.
- If you lost the secret, click New secret and give the receiver the new one.
Licence
What this does: shows whether this server is licensed, checks again with freePanel's licence service, lets you enter a new licence key, and frees an old server that used the same licence.
When you need it: when you enter your licence key the first time, when you renew it, and when you move freePanel to a new server.
Where: Branding and API > Licence
To check the licence
- Open Branding and API > Licence. Licence status says Licensed when all is well, with who it is licensed to and until when. The Valid until date is always about a week ahead: the server checks its licence once a day by itself, and each check moves the date forward. It is not the date your licence ends.
- Click Check now to ask the licence service again. The page says "Checked." followed by the state.

To enter a new licence key
- Copy the whole key you received. It starts with
FP1.. - In Change the licence key, paste it in Licence key. Spaces and line breaks don't matter.
- Click Save key. The key in use stays until the new one is accepted.

To move the licence to a new server
- Install freePanel on the new server (see the install guide in the Getting started part).
- On the new server, open Branding and API > Licence and paste the same licence key you use on the old server (see To enter a new licence key above). If the licence has no free place, the new server's panel says "The licence is in use on another server." and only the Licence page opens. That is expected: the next step frees the place.
- On the same page, go to Servers using this licence.
- Find the old server and click Free, then confirm. The new server takes its place at once and its panel opens.

The old server's panel locks at its next check. Its websites and email keep running. A server that stays silent for 7 days frees its place by itself.
If something goes wrong
- If you see "That is not a licence key. A key starts with FP1. and has four parts joined by dots.", copy the whole key again.
- If you see "This key ended on …", ask for the current key and paste that instead.
- If the status says "The licence is in use on another server.", free the old server under Servers using this licence.
- If the status says "Grace period", the licence could not be renewed yet, but the panel keeps working for now. Click Check now; if it fails, read The last check failed:. Most often the server can't reach freePanel's licence service: the server must be allowed to open outside web connections (HTTPS, port 443). Ask your provider whether a firewall blocks that. If the message is about the key, enter the key again.
- If you see "The clock on this server looks wrong", correct it on Time and time zone.
- If the panel is locked, only this page opens. Your customers' websites, email, databases and other services keep running. Enter a valid key, or click Check now once the licence is renewed.