How to add: ServerAlias *.domain.com

mtech

New member
Joined
Nov 13, 2003
Messages
2
Just do i need to edit httpd.conf or i can do this from DirectAdmin? Thanks.
 
Hello,

You would do that from the templates.

/usr/local/directadmin/data/templates/virtual_host*.conf

remember to first copy them to the custom directory and edit the new ones in there. Else they'll overwritten when DA updates.

then just type:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
to rewrite the user httpd.conf files with the new custom template.

John
 
Back
Top