All sites running from one directory

stalxed

New member
Joined
Oct 14, 2010
Messages
2
The aim is to configure the server so that all domains and subdomains which have my server's DNS would resolve in the same folder on the server, and so that I wouldn't have to configure each domain.
 
What about symlink?
Or change the templates (/usr/local/directadmin/data/templates/custom/), so it will have all the same dir ?
 
I'm for the domain test.com and test2.com tuned ns1.myserver.com and ns2.myserver.com
but the server does not create entries for these domains.
needed in the treatment of these domains opened default 'directory.
 
1) The way to do this through DirectAdmin is to create the additional domains as aliases. If you do it this way you only have one user on the server, with all the sites pointing to the same content.

2) The way to do it from the command line would be to move the template for the user-level httpd.conf file to the custom directory, and change it to use a hardcoded directory.

Jeff
 
Back
Top