PDA

View Full Version : How to add: ServerAlias *.domain.com


mtech
11-17-2003, 01:05 AM
Just do i need to edit httpd.conf or i can do this from DirectAdmin? Thanks.

DirectAdmin Support
11-17-2003, 01:18 AM
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