Hi,
I’m trying to move a subdomain from one Hestia user to another.
Using fictional names:
-
example-main.comis the main domain on the original user -
app.example-main.comwas added there as an additional web domain -
I later deleted
app.example-main.com -
then created a new user and tried to add
app.example-main.comthere
Hestia still says the domain belongs to another account.
Important detail:
-
I did not create separate DNS or MX for the subdomain
-
DNS and MX exist only for
example-main.com
I checked the server manually and found no active references for the subdomain in the usual locations:
-
no entry in
/usr/local/hestia/data/users/*/web* -
no entry in
/home/*/conf/web/ -
no entry in
/etc/nginx/ -
no entry in
/etc/apache2/ -
no entry in
/usr/local/hestia/data/users/*/dns* -
no entry in
/usr/local/hestia/data/users/*/mail* -
no leftover web directory for the subdomain
The only remaining references are in logs/history and backup metadata:
-
history.log -
system.log -
backup.conf -
backup.log
The logs show the domain was added and later deleted successfully.
I also rebuilt the user and web domains and restarted services, but the issue remains.
Commands already run:
grep -R "app.example-main.com" /usr/local/hestia/data/users/*/web*
grep -R "app.example-main.com" /home/*/conf/web/
grep -R "app.example-main.com" /etc/nginx/
grep -R "app.example-main.com" /etc/apache2/
grep -R "app.example-main.com" /usr/local/hestia/data/users/*/dns*
grep -R "app.example-main.com" /usr/local/hestia/data/users/*/mail*
v-rebuild-user olduser
v-rebuild-web-domains olduser
systemctl restart hestia
systemctl restart nginx
systemctl restart apache2
I do still have a mail account like [email protected] under the parent domain, but that is just an email address and not the same as the subdomain app.example-main.com.
I also have other parent domains and subdomains working under separate users on this same server, so that setup is supported.
Has anyone seen this before? Is there another internal place where Hestia stores domain ownership, or could this be a bug in the ownership check after deleting a subdomain?
Thanks.