atdigit
By:
atdigit

Not able to setup dns with zpanel. My domain is showing zpanel login screen.

December 1, 2015 2.1k views
DNS

I have created a droplet having Ubuntu and installed zpanel in it. Then I updated name server on my registrar's website to point to digital ocean, In digital ocean I updated the DNS as mentioned on this "https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean" article. Upto this point everything is working fine. Now the problem is when I am hitting my domain url its showing me zpanel cp login screen. I added domain name in zpanel and point zpanel name server to droplet IP but nothing is working here. It still shows zpanel login screen. I am not understanding what I am missing here. I am working on it from last 3 days on it but could not get success on setting up my website. Please help me to get this thing done. Thanks in advance

1 Answer

@atdigit

Would you mind posting a copy of your DNS Zone in a reply so that we can take a closer look at it and see if there's anything that may be out of place?

Also, other than DNS, has anything else been modified?

  • Thank you for the quick response,

    Please have a look on these screen shots, I am really not understanding what else to do.

    Digital Ocean DNS
    http://bit.ly/1TioyxQ

    ZPanel Domain Status (Which is showing Pending from last 48hrs.)
    http://bit.ly/1TioGNY

    ZPanel DNS Manager
    http://bit.ly/1LLJuaT

    zpanel NS
    http://bit.ly/1QRN8b2

    Waiting for your response,
    Thanks in advance

    • @atdigit

      Ah, I believe I see what's wrong :-).

      It appears as if you're trying to setup custom DNS from the looks of it, however, there's no routing in place for the custom DNS at DigitalOcean.

      If we take a look here, you've setup A entries for ns1, ns2 and ns3.yourdomain.com and then set ns1 and ns2 up as NS entries here.

      Even though it's not really a good idea to set all your NS records to the same IP (as it's a single point of failure), the above would work, though you need to register the IP('s) for your NS records, otherwise they're just entries on your server.

      --

      Since you seem to be using DigitalOceans's DNS (that's what your domain reports when doing a WhoIs lookup), you need to create the same A entries that are shown here through DigitalOcean via the Networking -> Domains section. You would then need to change all three of the NS entries here to match your custom DNS.

      So your DigitalOcean DNS Zone file should look something like:

      A                @                188.166.96.114
      A                ns1              188.166.96.114
      A                ns2              188.166.96.114
      A                ns3              188.166.96.114
      NS                                ns1.dumdar.com.
      NS                                ns2.dumdar.com.
      NS                                ns3.dumdar.com.
      

      Unless you're using www as an actual sub-domain, I'd drop that A entry and replace it with a CNAME, thus resulting in:

      CNAME            www              dumdar.com.
      A                @                188.166.96.114
      A                ns1              188.166.96.114
      A                ns2              188.166.96.114
      A                ns3              188.166.96.114
      NS                                ns1.dumdar.com.
      NS                                ns2.dumdar.com.
      NS                                ns3.dumdar.com.
      

      Bare in mind, DNS changes can take anywhere from 12-24 hours to resolve, so if this doesn't immediately resolve, give it a little time and check back.

Have another answer? Share your knowledge.