Quote Originally Posted by Net Pro View Post
I have successfully configured my server behind NAT i had it working last night it stopped my external Ip is static to router and all ports forwarded to the local ip on server. Anyway the domain example.com wont got to the servers default page and the website wont show just shows internet explorer cannot display this webpage i even edited the zone template now I think Ive messed that up as I didnt need to configure this when it was working but I read through this forum and it recommended changing the line in dns zone file so I was wondering if this is why no domains point to the server default page????
I have 2 servers behind nat.
my zone template looks like this:

; cPanel %cpversion%
; Zone file for %domain%
$TTL %ttl%
@ %nsttl% IN SOA %nameserver%. %rpemail%. (
%serial% ; serial, todays date+todays
7200 ; refresh, seconds
7200 ; retry, seconds
2400000 ; expire, seconds
86400 ) ; minimum, seconds

%domain%. %nsttl% IN NS %nameserver%.
%domain%. %nsttl% IN NS %nameserver2%.
%domain%. %nsttl% IN NS %nameserver3%.
%domain%. %nsttl% IN NS %nameserver4%.

%nameserverentry%. IN A %nameservera%
%nameserverentry2%. IN A %nameservera2%
%nameserverentry3%. IN A %nameservera3%
%nameserverentry4%. IN A %nameservera4%

%domain%. IN A 123.123.123.123 ( change with your external ip)

localhost.%domain%. IN A 127.0.0.1

%domain%. IN MX 0 %domain%.
%domain%. IN MX 10 %domain%.

mail IN CNAME %domain%.
www IN CNAME %domain%.
ftp IN A 123.123.123.123 ( change with your external ip)

In this matter works for regular domains . check to see if port 53 is open in your firewall router and point to your box

For subdomains to work properly I must create a new cpanel account.

So for example I need subdomain.site.com then I go to whm to the section
"Create new account" and I create a new account with the name of the subdomain I want to.
This is a cpanel issue, because before using cpanel I was using just a linux box with webmin on it and I didn't have any problems. Even the support team from cpanel couldn't help me.

Also editing manualy httpd.conf is not a solution because it gets overwritten by cpanel software now and then and your changes are lost.

Maybe someone has a different idea.