Hi, i have a question with the zone templates:
When i create an account i use this template:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
stats IN A %ftpip%
webmail IN A %ftpip%
www.stats IN A %ftpip%
www.webmail IN A %ftpip%
Well, the subdomains stats and webmail work, but it dont redirige to stats / webmail folders in the account. How can i make that the subdomain redirige to folder on user account?
I want that it make a subdomain how when you make a subdomain from cpanel.
Sorry for my english
Can somebody help me?
Really Thanks!
When i create an account i use this template:
; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
86400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds
%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.
%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%
%domain%. IN A %ip%
localhost.%domain%. IN A 127.0.0.1
%domain%. IN MX 0 %domain%.
mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A %ftpip%
stats IN A %ftpip%
webmail IN A %ftpip%
www.stats IN A %ftpip%
www.webmail IN A %ftpip%
Well, the subdomains stats and webmail work, but it dont redirige to stats / webmail folders in the account. How can i make that the subdomain redirige to folder on user account?
I want that it make a subdomain how when you make a subdomain from cpanel.
Sorry for my english
Can somebody help me?
Really Thanks!