Hi, my virtual host setup like this;
ServerName domain.com
ServerAlias *.domain.com
VirtualDocumentRoot /var/www/html/domain.com/%1/
now when i trying to open help.domain.com or kb.domain.com its working fine with corresponding folder contain.
and when i assign this help.domain.com to another domain CNAME help.domain2.com (sub domain)its working fine how ever when i poiting it to www.domain2.com (by CNAME www to help.domain.com) its getting 404 error. can some one help me what i am doing wrong why 404 error coming.