The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Creating subdomain points to internal IP

Discussion in 'General Discussion' started by hybride, Mar 4, 2013.

  1. hybride

    hybride Registered

    Joined:
    Mar 4, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi everyone,

    I am trying to create subdomains for several domains I have hosted on cPanel. Every time I create them, they point to the internal IP and don't work. I change them to the external IP, and they do.

    My question is, is it possible to change the DNS Zone template to do this automatically? I've tried modifying all 3 templates and adding a wildcard:

    Code:
    *.%domain%. IN A 66.XX.XXX.XX
    ; where 66.XX is the external IP.

    But the subdomains still are created with the internal IP, and are ignoring that line completely. Any help is greatly appreciated!
     
Loading...

Share This Page