How to Manage Old Websites and Unused Files on Your Hosting Account

How to Manage Old Websites and Unused Files on Your Hosting Account

One of the landing pages that was used in the previous marketing campaign sits somewhere in your hosting account. There is also an old version of your web shop, an old blog, plus other test folders that you don’t need anymore but didn’t think about deleting before.

 

After some time, nobody on the team remembers which folders are used by your live websites and which databases you can safely delete. It is vital to clean up these old files in order to maintain your hosting account properly; however, it must be done cautiously because otherwise, you may lose your website or other important information.

Advertisment

Begin With the Sites You Can Actually Recognize

The first issue is that the folders in your hosting account do not necessarily tell you anything about the websites these folders relate to. While a folder named old-site could hold an older version of your homepage, another folder with a similar name could still be used by an active project.

 

It would be reasonable to begin with the domains and subdomains related to your hosting account. Some of them may still lead to working websites, while others will show you outdated pages. But even though some domains may not work anymore, the files relating to these domains may still be available on the server.

 

There is also a difference between the folders that are connected to a certain domain and those that are used by other parts of your website. For example, an online store may have its own folders for storing uploaded files or any other resources.

Make Your Hosting Account Easier to Navigate

Once you know which of your websites are still active, you will most likely want to explore the files and databases used by them. Doing this through separate menus every time may prove to be very inconvenient for you.

 

A hosting control panel has to provide access to all of the tools necessary for working with your websites. For instance, when using spaceship hosting, you can utilize cPanel, which allows you to work with website files, manage databases, and see the domains linked to your hosting account.

 

It may happen that you need to open certain folders, compare their contents with those of another folder, or find out if there is a database linked to an installed application. All of this can be done through one control panel interface.

Advertisment

Find Out Which Files Still Belong to Active Sites

Firstly, after you get access to your folders and databases, you will need to understand which of them are related to your active sites before making any changes in order to avoid deleting any important files. Usually, the name of the database does not provide any information about its use. In case it was created by a one-click installer with a name like wp_84a or db_store2 a few years ago, the database name will not help.

 

To avoid accidental deletion of your active database, you have to:

  1. Open the main configuration file of your active site, such as wp-config.php for WordPress or .env for some other applications. There, you can find the database name and credentials.
  2. Note all the database names you find and make sure that they are not included in your list of files and databases to be deleted.
  3. Look for old archives of your website, including .zip and .tar.gz files, SQL dumps, and test directories from past projects.

 

Sometimes, developers leave manual backups after a website launch or updates. They may become unnecessary, but do not rely only on their names or modification dates. If you cannot determine what a particular file or directory is used for, do not delete it until you know its purpose.

Delete Old Projects Without Losing Something Important

Once you have your verified list of unused folders and databases, then remove them one project at a time rather than doing them all at once.

 

  1. Look for hidden dependencies. Ensure that your active website does not use images, downloadable brochures, or scripts from the old folder. Also, ensure that there are no active email addresses or redirects using a domain or subdomain you are going to remove.
  2. Back up separately. Download an archive of the old project files and export the database of the old project to your computer or external hard drive. Having these copies for some time allows you to fall back on them if later on somebody notices that an old file is required.
  3. Remove the old project. Once you have made your backups, then delete the root folder of the project through the file manager, remove the database of the old project if nothing else requires it, and clear any unused subdomains in your hosting control panel.
  4. Test your active websites. Immediately after each removal, open your websites and check their most important pages and submit a test contact form to make sure everything is still working. Also, check that your email addresses still work.

Forgotten Websites Can Still Create Security Risks

One may believe that an abandoned website poses no threat if nobody uses it anymore. Nonetheless, it may still cause security issues. Automated bots can find its URL and check its software for vulnerabilities.

 

For example, you might have an outdated contact form, a testing application, or some scripts which have not been updated for years. Despite the fact that none of your employees uses such files anymore, they can still be accessible on your server. In case the software has security vulnerabilities, they may be exploited to gain access to other files stored on the same hosting account.

 

Finally, one needs to consider the information left on the abandoned project. Customer details or submitted forms may still be saved in its database. This is also important when considering data privacy in building customer trust.

Advertisment

Don’t Let Temporary Projects Become Permanent

The simplest way to prevent yourself from facing this cleanup challenge in the future is to treat each of your test sites or campaign pages as temporary projects right from the beginning. Use clear folder and database naming conventions that identify the project name along with its date; for instance, use the name spring-promo-2026 instead of test2.

 

Whenever you create a staging copy or a temporary landing page, schedule its deletion after the campaign ends or the update goes live. The same goes for moving websites to other hosting accounts. There is no need to keep old versions of your website on the old server for too long.

 

In this way, you won’t have to go through the same experience in a couple of years’ time.

Advertisment

Pin it for later!

How to Manage Old Websites and Unused Files on Your Hosting

If you found this post useful you might like to read these post about Graphic Design Inspiration.

Advertisment

If you like this post share it on your social media!

Share on facebook
Share on twitter
Share on pinterest
Share on vk
Share on telegram
Share on whatsapp
Share on linkedin

You Might Be Interested On These Articles

Advertisment

Latest Post