| ||
| ||
1) We'll need to add a webmail.* VirtualHost to each domain. We can make use of a feature that let's us globally specify CUSTOM# tokens, without altering the original templates. Create the file /usr/local/directadmin/data/templates/custom/virtual_host2.conf.CUSTOM.4.post and add the code</VirtualHost> The above is for port http:80, but similar code can be used in: /usr/local/directadmin/data/templates/custom/virtual_host2_secure.conf.CUSTOM.4.post if you want it for https on the domain, you'd add:</VirtualHost> 2) Then run echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue 3) You'll also need to setup the dns portition. cd /usr/local/directadmin/data/templates | ||
Related Helpfiles | ||
Using a custom VirtualHost template | ||
Running DirectAdmin through apache on port 80 | ||
Setting up webmail.domain.com with Nginx | ||
Setting up webmail.domain.com with nginx/apache proxy |
© 2018 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST