Can I add sub-domain as main domain directory with Direct Admin ?

wpanbo

New member
Joined
Feb 6, 2012
Messages
3
Exsample my domain 123456.com on public_html, I would like to add sub1.123456.com but use the same directory on public_html. Is there any way ?

I have to use this setting with MultiStore web cart, Thank you
 
that www actually doesn't get added into the alias, its probably just there so people won't type www in that field.
 
that www actually doesn't get added into the alias, its probably just there so people won't type www in that field.

In my particular case it gets:

Code:
	ServerName www.domain.com
	ServerAlias www.domain.com domain.com  alias.com www.alias.com

But I don't see a problem here, as it can be changed in vhost templates.
 
Yes they both get added, but user wpanbo probably thought it would only add www and therefore it was not a solution. I must say it is a bit confusing if you don't know this.
 
Back
Top