Control Web Panel
		WebPanel => CentOS Configuration => Topic started by: knn 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
<VirtualHost %ip%:%apache_port%>
	ServerName %domain_idn%
	%domain_aliases%
	ServerAdmin webmaster@%domain%
	DocumentRoot %docroot%
Which is then converted to something like
<VirtualHost 111.222.333.444:8181>
	ServerName EXAMPLE.COM
	ServerAlias www.EXAMPLE.COM
	ServerAdmin webmaster@EXAMPLE.COM
	DocumentRoot /home/xxxxxx/public_html/EXAMPLE.COM
My question is about the line %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.