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!

Automatically Change Subdomain's IP address on Creation

Discussion in 'General Discussion' started by Jacob843, Feb 18, 2013.

  1. Jacob843

    Jacob843 Registered

    Joined:
    Feb 18, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hello cPanel community!

    I have a bit of a dilemma, well, a huge one. Right. I have an NAT setup and I have gotten everything working except one thing: subdomains.

    My internal IP is 192.168.1.134. The server's main IP is the internal IP, so when I create a new subdomain, it points to my internal IP and is inaccessible from the outside world.

    So after spending a bit of time talking to cPanel, they told me to get a script made by someone. I have contacted a company and they gave me a quote of 250 dollars, which is way out of my business's budget. So my question is, how hard would it be to create a script that will automatically change a subdomain's IP address on creation.

    I am ready and willing to learn.

    Thank you for taking the time to read this thread.

    Best Regards,
    Jacob Hartmann
     
  2. Jacob843

    Jacob843 Registered

    Joined:
    Feb 18, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Change Subdomain Creation Message

    Hello! Since I am unable to make a script to automaticly change the subdomain's IP on creation, I was hoping somebody here would be willing to tell me what script the subdomain creation is in.

    All I need is to add a set of instructions to the subdomain creation message that will tell the user that they will havbe to manually change the subdomain's ip address.


    Thanks in advance!


    ~Jacob Hartmann
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,311
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    A cPanel account cant change its own IP address.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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