Can't delete Domain Alias / Addon Domain

Current Version: 2.4
Build: 1
Current Commit: 03e8bbbf54fcea4802396d2d17ea8aa3fec58e0f
Latest Version: 2.4
Latest Build: 1
Latest Commit: 03e8bbbf54fcea4802396d2d17ea8aa3fec58e0f

I try to delete the alias (add-on) domain and it just does nothing. No errors, nothing. I press the button and it just doesn’t work.

https://ip:port/websites/website.com/domainAlias

Current Version:2.4
Build:1
I have the same problem. The domain alias cannot be deleted. Even if it is deleted from OLS, it still appears in cyberpanel.

same problem

Current Version:2.4
Build:3

1 Like

same problem 2.4.4 ubuntu 24.04

Really, no response to this obvious problem in CP, which remains unresolved?

It’s really better to give up after years of frustration. It’s a shame.

Coming back after 5 months, still not fixed. @usmannasir

I have this problem. Is it still not fixed after 6 Months?

Hi everyone,

I’ve been experiencing the same issue on AlmaLinux 9.7 with CyberPanel 2.4.4. I found a manual workaround to completely remove a website when the dashboard fails to clean up all records.

After deleting the site via the CyberPanel dashboard, I connect to the server via SFTP/FTP, check the following configuration files, and manually remove the entries related to the deleted domain.

DISCLAIMER: I take no responsibility for any issues this may cause. This is only a suggestion based on my experience. Always take a full backup of your server and database before proceeding!

1. Manual File Configuration Cleanup

Check and edit the following files to remove any lines related to the deleted website:

  • /etc/passwd
  • /etc/shadow
  • /etc/gshadow
  • /etc/subgid
  • /etc/dovecot/dovecot.conf
  • /etc/opendkim/KeyTable
  • /etc/opendkim/SigningTable
  • /etc/opendkim/TrustedHosts
  • /etc/opendkim/keys/mail.yourdomain.com/*
  • /etc/postfix/vmail_ssl.map

2. Database Cleanup (via phpMyAdmin)

Log in to phpMyAdmin and navigate to the cyberpanel database. Carefully remove the rows related to the deleted website from the following tables:

  • websiteFunctions_websites
  • websiteFunctions_childdomains
  • websiteFunctions_backups
  • users
  • records
  • loginSystem_administrator
  • e_users
  • e_domains
  • emailPremium_emaillimits
  • emailPremium_domainlimits
  • domains
  • databases_databases

IMPORTANT NOTE: Be extremely careful when performing deletions directly on the database. Removing the wrong table or row can lead to irreversible system errors!

Good luck!