Why Does domain.com/cloud work and not cloud.domain.com?
whm dnsserver and nameserver other domains work
whm dnsserver and nameserver other domains work
Code:
<VirtualHost xxx.xx.xxx.xxx:80>
ServerName cloud.domain.com
ServerAlias www.cloud.domain.com
DocumentRoot /home/whizbang/public_html/cloud
ServerAdmin [email protected]
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/cloud.domain.com combined
CustomLog /usr/local/apache/domlogs/cloud.domain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User whizbang # Needed for Cpanel::ApacheConf
UserDir disabled
UserDir enabled whizbang
# Enable backwards compatible Server Side Include expression parser for Apache versions >= 2.4.
# To selectively use the newer Apache 2.4 expression parser, disable SSILegacyExprParser in
# the user's .htaccess file. For more information, please read:
# mod_include - Apache HTTP Server
<IfModule mod_include.c>
<Directory "/home/whizbang/public_html/cloud">
SSILegacyExprParser On
</Directory>
</IfModule>
<IfModule mod_suphp.c>
suPHP_UserGroup whizbang whizbang
</IfModule>
<IfModule concurrent_php.c>
php4_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
php5_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
</IfModule>
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup whizbang whizbang
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid whizbang whizbang
</IfModule>
<IfModule itk.c>
# For more information on MPM ITK, please read:
# apache2-mpm-itk
AssignUserID whizbang whizbang
</IfModule>
ScriptAlias /cgi-bin/ /home/whizbang/public_html/cloud/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/whizbang/cloud.domain.com/*.conf"
</VirtualHost>
Last edited by a moderator: