Subdomain mania
Why Does domain.com/cloud work and not cloud.domain.com?
whm dnsserver and nameserver other domains work
ServerName cloud.domain.com
ServerAlias www.cloud.domain.com
DocumentRoot /home/whizbang/public_html/cloud
ServerAdmin webmaster@cloud.domain.com
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
SSILegacyExprParser On
suPHP_UserGroup whizbang whizbang
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"
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/local/lib/php:/tmp"
php_admin_value open_basedir "/home/whizbang:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
SuexecUserGroup whizbang whizbang
RMode config
RUidGid whizbang whizbang
# For more information on MPM ITK, please read:
# apache2-mpm-itk
AssignUserID whizbang whizbang
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"
-
do: ping cloud.domain.com Does it resolve to an IP? With domain.com being your actual domain of course. Looks like mod removed it. 0 -
Hi Vanessa pings and traces domain.com Thought it pinged and traced sub.domain.com but is not currently. Added * cname on GD as it is the primary domain. Funny same experience on Blue H for a non-primary subdomain. Confused in wbmg. Mark 0 -
That fixed it and tested another subdomain on a nonprimary domain. It works correctly. I may be on an old cpanel version on BH. My current version is WHM 11.40.1 (build 11). If I remember correctly this used to be an issue. It has been a few years since I have played with cpanel as an admin. [Solution] So for those of you who are having trouble with sub.primarydomain.com working, check your registrar dns it should have cnames for WWW and * pointing to the A record of primarydomain.com. @ also equals primarydomain.com Please mark as solved. 0 -
Hello :) I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments