Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Zone Template Variables

Discussion in 'General Discussion' started by yoohost, Apr 21, 2008.

  1. yoohost

    yoohost Member

    Sep 2, 2004
    Likes Received:
    Trophy Points:
    So I'm trying to create some custom Zone Templates. I'm looking for some feedback on what I'm trying to do here, and you can tell me if this is going to work...

    Basically, in an effort to make my cpanel servers more PCI Compliant, I have to disable mod_userdir. Doesn't sound that hard does it? Well it is, as customers like to view their site before they change the nameservers. So I was thinking of trying something like Hsphere has, that being a "aliased" subdomain which points to the user's public_html. Then I could disable mod_userdir ... I think that makes sense.

    So my question is, what variables can I use in the Zone Templates Editor?

    %domain% = domain name
    %nameserverentry% = nameserver

    What other variables can I use here? Thanks for all the help!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice