Author Topic: Where is %domain_aliases% being defined?  (Read 5502 times)

0 Members and 1 Guest are viewing this topic.

Where is %domain_aliases% being defined?
« on: April 22, 2019, 04:31:58 PM »
I use CWP 6.

The file /usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/httpd/default.tpl
starts with
Code: [Select]
<VirtualHost %ip%:%apache_port%>
ServerName %domain_idn%
ServerAdmin webmaster@%domain%
DocumentRoot %docroot%

Which is then converted to something like
Code: [Select]
<VirtualHost 111.222.333.444:8181>
ServerAlias www.EXAMPLE.COM
ServerAdmin webmaster@EXAMPLE.COM
DocumentRoot /home/xxxxxx/public_html/EXAMPLE.COM

My question is about the line
Code: [Select]
%domain_aliases% which defines the "www". Where can I adjust this or add more subdomains than "www"? And by adding subdomains I mean simple aliases just like www.

Thank you.
« Last Edit: April 22, 2019, 04:34:58 PM by knn »