View Single Post
  #2 (permalink)  
Old 07-03-2009, 12:10 PM
cPanelDavidG's Avatar
cPanelDavidG cPanelDavidG is offline
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by ChrisFirth View Post
Hi all,

Does anyone know where the DNS zone templates are stored on a cPanel server, with basically the default settings? If it helps the O/S is Centos 5.3.

I have edited the "standardvirtualftp" template through WHM, but I also need to change it on a clone image that I have for future deployments. Rather than re-imaging the server I have mounted the dd image and I can see these files that match by name:

/usr/local/cpanel/cpupdatepatches/var/cpanel/zonetemplates/__revision1/patches/standardvirtualftp
/usr/local/cpanel/etc/zonetemplates/standardvirtualftp
/var/cpanel/zonetemplates/standardvirtualftp

I have checked those files, but the changes I have made in the "standardvirtualftp" template through WHM are not reflected in those files.

Does anyone know exactly which file WHM edits when you change the zone template?

Thanks
If you are editing as root, it would be /var/cpanel/zonetemplates/standardvirtualftp

If you are editing as a reseller, it would be /var/cpanel/zonetemplates/USERNAME_standardvirtualftp

Where USERNAME represents your reseller account's username.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Reply With Quote