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!

help plz... I can't see my server & virtual domains on Internet... only locally...

Discussion in 'General Discussion' started by HaWkItO, Mar 6, 2005.

  1. HaWkItO

    HaWkItO Registered

    Nov 2, 2003
    Likes Received:
    Trophy Points:
    Hello everybody!
    My problem is this:

    1) I have a cPanel server connected to Internet,
    the public IP of te connection is: 213.XXX.XXX.XXX
    and the private IP of the server en LAN is:

    2) The server is connected throught a router with the IP
    configured as DMZ to redirect all traffic to the server in

    3) I have a MYDOMAIN.COM registered with two child name with the public IP of the server:

    4) The DNS configuration of main domain is:
    ; Modified by Web Host Manager
    ; Zone File for
    @       14440   IN      SOA   (
                                            ) 14400   IN      NS 14400   IN      NS 14400   IN      A       14400   IN      A
    pserver1        14400   IN      A
    servidor        14400   IN      A
    ns1     14400   IN      A
    ns2     14400   IN      A

    *) The problem is that when I try resolve the hostnames on Internet
    I obtain the private IP instead of the public IP.
    For example, if I make a NSLOOKUP to MYDOMAIN.COM or to PSERVER1.MYDOMAIN.COM this returns the IP
    If I make a NSLOOKUP to other virtual domain on the server this return the IP too.
    If I make a PING, the domains are resolved always to
    The two only requests tha is resoved fine are the nameservers that is resolved fine because
    the associated public IP 213.XXX.XXX.XXX is in the registry. :mad:

    I tried also to change the namesververs IP to the public IP in the configuration of the zone file of as:
    ns1     14400   IN      A       213.XXX.XXX.XXX
    ns2     14400   IN      A       213.XXX.XXX.XXX
    But I obtained the same result. :(

    Definitively, what I have to put in my configuration zone file?
    Is correct create 2 child nameservers in the registry pointing to my public IP?
    The nameserves in resgistry should be pointing to an 3th party external nameserver (i.e. my Registrar nameserver) in

    which there are two A records pointing to NS1.MYDOMAIN.COM and NS2.MYDOMAIN.COM asociated with my public IP?

    Can somebody help me? :confused:

    Thanks in advance. ;)

    Note: I tried to put in the bind configuration the public IP 213.XXX.XXX.XXX for or for any other virtual domain i.e. and then this domains are resolved to the public IP. But it is not a solution because the ip of the virtual domains should be the main shared IP ( and on Internet the cPanel Server should resolve that to the public IP (213.XXX.XXX.XXX).
    #1 HaWkItO, Mar 6, 2005
    Last edited: Mar 6, 2005

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