If you have added and removed a website multiple times using the Websites section of the mybox Panel, you may notice several directories with similar names when connecting via FTP.
For example:
yourdomain.com
yourdomain.com-abcd
yourdomain.com-xzcf
yourdomain.com-1234 This behavior is normal and occurs because deleting a website from the mybox Panel does not automatically remove the website files or databases stored on the server.
Table of Contents
How Does This Happen?
When you remove a website from the Websites section:
- The website configuration is removed from the panel.
- The domain is removed from the website list.
- The files remain on the server.
- The database remains on the server.
If you later create a new website using the same domain name, the system cannot reuse the original directory because it still exists. To avoid overwriting your existing data, a new directory is automatically created.
For example:
First Website
yourdomain.com After deleting the website, the directory still exists.
Second Website
When you create the website again, the system may create:
yourdomain.com-xzcf Third Website
If the process is repeated, another directory may be created:
yourdomain.com-a8b2 Does This Affect My Website?
No.
Only the directory assigned to the active website is used to serve content.
The additional directories are simply leftover data from previous website installations or configurations.
How Can I Check Which Directory Is Currently Active?
In the mybox Panel:
- Open:
Websites - Click on the website.
- Locate the website details section.
- Check the document root or website directory path displayed there.
This is the directory currently being used by the active website.
Can I Delete the Old Directories?
Yes, but only if you are certain they are no longer needed.
Before deleting any directory:
- Verify that it is not used by an active website.
- Create a backup if necessary.
- Confirm that no important files remain inside.
You can remove old directories using:
- FTP clients such as FileZilla or WinSCP
- SSH access (if enabled)
What About Databases?
Just like website files, databases are not automatically removed when a website is deleted from the mybox Panel.
Unused databases should be reviewed and removed manually if they are no longer needed.
Summary
If you see directories such as:
yourdomain.com
yourdomain.com-xzcf
yourdomain.com-ab12 it usually means the website was added and removed multiple times. The mybox Panel removes the website configuration but leaves files and databases intact. When the website is created again, the system generates a new directory name to prevent accidental overwriting of existing data.
Before deleting any old directories, always verify which directory is currently assigned to the active website and make sure you have a backup of any important data.