If you need more space in your web hosting package but are not ready for a larger package, you can choose to take a critical look at the space you are currently using. For example, you can delete unused mailboxes, databases or files if you are sure you no longer want to keep them.
In this article, we explain what options you have to save space on your web hosting package so that you have more free space. You have 3 options:
- You can delete files on the web hosting package
- You can shrink or delete database(s)
- You can reduce or delete mailbox(es)
We will discuss these options one by one in this article. In addition, we will also show you how to delete mail forwards, even if they don't take up web space.
Before you delete anything on your web hosting package, we strongly recommend that you check whether the items you're planning to delete are important or still in use. In addition, it is strongly recommended to create a local backup of your files, databases and emails before deleting anything. If you delete an email address, database or files from your web hosting package, they will be removed immediately and can not easily be recovered.
Our web hosting packages naturally include backups, but you cannot retrieve individual files, databases or emails from such a backup. Restoring a backup in your control panel would overwrite everything in your web hosting package.
Checking your web space
For starters, you can check what all the web space in your web hosting package is currently used for. That way you have a better idea of where you can get the most results when trying to free up more space. You can find the overview of your web space as follows:
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'Web space'.

On the next screen you'll see how much web space you're currently using in your web hosting package.

Creating a backup of your files
To make sure you do not accidentally lose important files when you start deleting files, you can create a backup of your files before taking any further action.
With the help of a SFTP-program of your choice you can easily create a local backup of your files. In this article we use Filezilla.
If you use another program (like for example Cyberduck), the steps are similar. If you can't quite figure out how to do this with your SFTP-progam, we recommend that you consult the documentation of your SFTP-program.
Step 1
Log in to Filezilla. You can read more about this in the article 'How to use SFTP with Filezilla'.
Step 2
In the left column click on the folder where you want to save your backup. In our example we use the folder named 'My website files'.

Step 3
In the right colum right-click on your 'www'-folder and click on 'Download'.

The folder 'www' and the files contained therein will now be downloaded to the folder you selected in the left column. After the download is complete, you have backed up your website files.

If you have files in other folders (such as for example 'Subdomains' or 'backups') you can download these in the same way. In that case, make sure to save these files in a seperate local folder.
Deleting files
You can now check within the 'www' folder if there are files that you no longer want or no longer need. If you are not sure whether a file is used by your website, do not delete the file and first check this with the creator of the CMS or the plugins / themes you use.
If you wish to completely delete your website, then you can delete all files in the folder 'www'. After that your website will no longer be accessible to visitors.
If you have files in other folders (such as for example 'Subdomains' or 'backups') you can delete them in the same way if you no longer need them. Therefore make sure to also check these folders.
As mentioned before: Make sure you have created a local backup of your files before you delete files from your web hosting package. This to secure any important files from being lost by accidental deletions, as these cannot easily be recovered.
Checking your database(s)
In your controlpanel you can see which database(s) you currently have in your web hosting package. You can find this overview as follows:
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'Database'.

On the next screen you'll see how the databases you currently have in your web hosting package. Below that you see the name(s) of the database(s), the username(s) for the database(s) as well as how much space is allocated to the database(s).

Creating a backup of your database(s)
Your database contains the data of your website. If you have multiple subdomains, it is possible that you have created separate databases for the websites on your subdomains. Then the additional databases will contain the data for the websites of your subdomains. Since a website will not function after deleting its database, it's recommended to make a backup to prevent accidentally deleting an important database.
Step 1
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'Database'.

Step 2
On the next page you see the databases you currently have in your web hosting package. Below that you see the name(s) of the database(s), the username(s) for the database(s) as well as how much space is allocated to the database(s).

Click on the blue download button to the left of the cross. You'll be asked to confirm that you wish to make a dump of your database, you can confirm this by clicking on 'Ok'.

A copy of the database will now be made which will be stored in your web hosting package. This copy is called a 'database dump'. You will receive an email as soon as the backup has been made.
Stap 3
After you have received the email that the database dump has been completed, you can find it in your web hosting package. You can use the SFTP Filemanagement in your control panel to download the database dump: Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'SFTP Filemanagement'.

In the overview of folders in your web hosting package you can click on the folder 'private' and then the folder 'database-dumps'. There you can download the .sql file and store it on your local computer. After that you can delete the .sql file from your web hosting package to save space.

Shrinking your database(s)
You can choose to shrink your database. Shrinking a database is only possible if the database has not yet filled all of the allocated space for that database. You can not make a database smaller than the sum of all the data it contains.
Warning: if you make a database so small that no new data will fit in the database, this will lead to problems on your website.
Shrinking your database can be done as follows:
Step 1
First check how much space your database is actually using.
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'Database'.

You will see the databases you currently have in your web hosting package.

Click on the 'PhpMyAdmin link' and log into PhpMyAdmin with the login information shown. As 'Host' you enter your domain name, as 'Username' you enter the user of your database and as 'Password' the password for that specific database.
After logging in you can click on the name of your database on the left side.

You will now see an overview of the tables within your database. In this overview you will see the total actual size of your database at the bottom-right of the tables. In our example this is 14,3 Mb.
Remember that you cannot shrink your database smaller than this size. It is strongly advised to keep enough extra space for your database to grow when you start shrinking the allocated space in the next steps. Otherwise you risk your website not functioning properly anymore.
Step 2
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your website', followed by clicking on 'Database'.

Step 3
On the next page you see the databases you currently have in your web hosting package.

Click on the name of the database of which you would like to change the allocated space. You will then see the following screen:

In this screen you can change the allocated space for this database behind the option 'Database size'. As mentioned it can not be made smaller than the sum of all the data it contains. After you've made the change, save it with the 'Save' button.
Deleting your database(s)
You can look at the databases in your web hosting package to see if there is a database that you are no longer using and don't want to keep anymore. If you are not sure whether a database is used by your website, do not delete the database and first check the configuration file of your website to see which database is in use. When in doubt it is beter to keep the database and not delete it to avoid your website suddenly becoming inaccessible.
If you wish to completely delete your website, then you can delete the database. After that your website will no longer be accessible to visitors.
Deleting a database can be done with the cross to the right of the database.

As mentioned before: Make sure you have created a local backup of your database(s) before you delete your database(s) from the web hosting package. This to secure any important data in a database from being lost by accidental deletions, as this cannot easily be recovered.
Checking your email address(es)
In your controlpanel you can see which email address(es) you currently have in your web hosting package. This applies to both mailboxes as well as mail forwards. With mailboxes you can also see the allocated space for each mailbox. You can find this overview as follows:
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your email'.

To see an overview of your mailboxes you can click on 'Mailboxes'.
To see an overview of the mail forwards you can click on 'Mail forwards'.
Shrinking your mailbox(es)
With mailboxes you can choose to shrink these. Please be aware it is only possible to shrink a mailbox if there is still unused space in the amount of space allocated to the mailbox. You can not make a mailbox smaller than the combined size of all the emails in that mailbox.
Warning: if you make a mailbox so small that no new emails will fit in the mailbox, you will not be able to receive new emails.
You can shrink your mailbox as follows:
Step 1
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your email' and choose 'Mailboxes'.

Step 2
Click on the mailbox that you want to change the allocated space for. You will then see the following screen:

You can change the allocated space for this mailbox behind 'Assigned size'. As mentioned you can not make a mailbox smaller than the combined size of all the emails in that mailbox. To save the change, click on 'Save'.
Deleting your mailbox(es)
You can delete a mailbox if you no longer want to use or keep the mailbox. When you delete a mailbox this means all emails in that mailbox will be entirely deleted. You can delete a mailbox as follows:
Step 1
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your email' and choose 'Mailboxes'.

Step 2
In the next screen you see an overview of all the mailboxes that you have within this web hosting package.

You can delete a mailbox with the cross to the right of the mailbox that you want to delete.
As mentioned before: Make sure you have created a local backup of your email before you delete your mailbox(es). This to secure any important emails from being lost by accidental deletions, as these cannot easily be recovered.
Deleting your mail forwards
You can delete a mail forward via your control panel. A mail forward does not affect the amount of web space used, since it does not take up storage space itself. Mail forwards do count for the number of email addresses that you have in use in your web hosting package.
You can delete a mail forward as follows:
Stap 1
Within the control panel go to the 'Domain & Hosting' tab and select the domain name on the left side (without checking the checkbox). Then click on the cogwheel icon next to 'Your email' and choose 'Mail forwards'.

Stap 2
In the next screen you see an overview of the mail forwards that you currently have in this web hosting package.

You can delete a mail forward with the cross to the right of the mail forward that you want to delete.
In this article we explained how you can free up more space on your current web hosting package.
If you have any questions regarding this article, do not hesitate to contact our support team. You can reach them using the 'Contact us' button below or the 'Contact' button in your control panel.
If you want to discuss this article with other users, feel free to leave a comment below.

Comments