I wish to add my own webapps Alias pointing to /var/www/html


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » CustomBuild » CustomBuild 2.0

I wish to add my own webapps Alias pointing to /var/www/htmlLast Modified: Sep 20, 2015, 4:59 pm
If you have your own alias which you need to add, lets call it /, and you wish to point it to

/var/www/html/

then you can add it as a location Alias for all domains using the custom/webapps.list file.

1) To set it up, run the following:

cd /usr/local/directadmin/custombuild
mkdir custom

2) Then add the custom values to the file:

echo "billing=billing_system" >> custom/webapps.list

3) Lastly, rewrite the configs for Apache or Nginx:

./build rewrite_confs



These changes should show up in one of these files, depending on if you're using Apache or Nginx:

/etc/httpd/conf/extra/httpd-alias.conf
/etc/nginx/webapps.conf



NOTE CustomBuild will always set the "webmail" Alias to the currently selected webmail_link from the directadmin.conf (possibly an internal default), so if you wish to change where /webmail goes, use the webmail_link featureto change it, and issue a config rewrite in step 3.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST