Submitted by yngens on Wed, 08/31/2016 - 06:46
The validation reports Home directory : Home directory /home/username/domains/alias.com does not exist
for an alias domain which should not have home directory. Disabling and re-enabling the Apache website enabled?
doesn't help. Only removing and re-creating the alias virtual server makes the validation error go away, which requires additional hassle.
I believe Virtualmin validation should not be complaining about absence of home directory for an alias virtual servers in the first place, hence reporting this issue.
Status:
Active
Comments
Submitted by andreychek on Wed, 08/31/2016 - 09:34 Comment #1
Howdy -- this may depend on what type of alias it is.
If you look in System Settings -> Server Templates -> Default -> Apache Website, what is the "Create alias websites by" option set to?
Submitted by yngens on Wed, 08/31/2016 - 20:33 Comment #2
The "Create alias websites by" is set to "Adding ServerAlias to parent", so the system should not try to create home directory, but it is giving the above error.
Submitted by JamieCameron on Wed, 08/31/2016 - 23:03 Comment #3
You're right that alias domains don't really need a home directory, and Virtualmin won't always create one. But if it did, it does expect that directory to continue to exist..