Automatically Change Subdomain's IP address on Creation

Jacob843

Registered
Feb 18, 2013
2
0
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
 

Jacob843

Registered
Feb 18, 2013
2
0
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