Trash

In the ‘Trash’ tab you will find a list of the domains and accounts you have deleted. Here you can delete their associated directories permanently by checking the ‘delete’ boxes and clicking the ‘Apply changes’ button.

Trash.

Domains

When a domain is deleted from the control panel what happens on the server is as follows:

  1. The Virtual Host and Let’s Encrypt certificate renewal are removed, so that the domain is no longer accessible.

  2. Se mueve el directorio /var/www/html/example.com a /home/.trash/domains/example.com-timestamp, para que el contenido de la página o aplicación web pueda ser recuperado en el caso de que lo necesitas.

As you can see, a timestamp (example.com-timestamp) is added to the name of the directory (example.com). This way, if the domain is added and deleted several times we can know which version we are referring to. The date of deletion, which is indicated in the timestamp , can be seen in the right column.

For security reasons, once a domain has been deleted, the content of /var/www/html/example.com can only be restored by logging in with the Superuser account. The directory /home/.trash/domains/example.com-timestamp will be assigned as nobody:nogroup owner and only the Superuser account will have permissions to modify it.

If you want to permanently delete the directory /home/.trash/domains/example.com-timestamp you can check ‘delete’ and ‘Apply changes’.

Users

When a user is deleted from the control panel what happens on the server is that the directory /home/user_example is moved to /home/.trash/users/user_example-timestamp, furthermore it will be assigned as owner nobody:nogroup.

A timestamp is added to the name of the directory user_example to uniquely identify it (user_example-timestamp). This is useful in case an account is created and deleted several times. The date of deletion, which is indicated in the timestamp, can be seen in the right column.

For security reasons, if you want to recover the contents of this directory will have to enter by terminal, with the Superuser account to move it from location and change the permissions of owner.

If you want to delete permanently the directory /home/.trash/users/user_example-timestamp you can check ‘delete’ and ‘Apply changes’.