Problem in setting subdomains with whm

bsasninja

Well-Known Member
Sep 2, 2004
527
0
166
Im having a issue when setting subdomains at whm.

I created through cpanel a subdomain called "webmail". The folder was created and inside of it I droped a index.html file.

But when I call webmail.domain.com I get this

Template Error: The template file must be given and is redirected to this url: http://webmail.domain.com/cgi-sys/defaultwebpage.cgi

I set the template file as it said at whm, but when I type the subdomain in the address bar I get the template instead of the index.html I uploaded.

What I´m doing wrong?? I´m using latest cpanel/whm release.

Thanks
 

Infopro

Well-Known Member
May 20, 2003
17,112
513
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
In WHM > Tweak Settings > Domains section check your settings:

Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains
Something there might prove helpful to you. ;)
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
In WHM > Tweak Settings > Domains section check your settings:
Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains
Something there might prove helpful to you. ;)
What Infopro has detailed is correct; the applicable Tweak Setting option would need to be used to allow users to override the default proxy sub-domains. For additional reference information please also see the following related documentation resources (and specifically the "Domains" section of the Tweak Settings documentation):
WHM: Main >> Server Configuration >> Tweak Settings >> Domains