how-to two subdomains pointing to same subfolder?

wanren

Verified User
Joined
Mar 1, 2010
Messages
29
Can I point two different subdomains to the same subfolder?
seems there is no such function in DA panel..
 
No you cant unless you add a subdomain as the actual domain and then use domain pointer. Just use a htacess redirect. Would do the same thing.
 
No you cant unless you add a subdomain as the actual domain and then use domain pointer. Just use a htacess redirect. Would do the same thing.

Thanks! I wonder if I can edit user's httpd.conf file in /usr/local/directadmin/data/user/... to meet my needs? theoretically speaking, I think it should work...

but after I edit DocumentRoot path and Directory path pointing to the certain subfolder among
<VirtualHost 69.163.34....:80>
...
</VirtualHost>

the website is down..
 
well maybe editing manually http.conf of the user should work BUT, when u modify any domain (apache side) of that account your modify will be canceled.. you should try use custom apache settings directly from da
 
Maybe you can add the first subdomain als 'domain' and the second subdomains as 'domain pointer'.
 
Back
Top