I have a home server with a general broadband connection. As you know every broadband has a private IP (1.1.1.1), but I bought additional public IP(2.2.2.2) with my connection. I already installed CentOS7 with Apache phpMyAdmin. Everything works fine when I point the domain as an A record to the server IP(2.2.2.2) and host a website without any issue. Now I want to point to the domain using a nameserver. I have registered the child nameserver on GoDaddy such as ns1 and ns2 and pointing on the server's public IP(2.2.2.2). The nameservers are giving ping from 2.2.2.2, but while updating the nameserver (ns1,ns2) of the domain, it looks dead.
Am I missing something? Do I need to configure or map the Private(1.1.1.1) or Public IP(2.2.2.2) on the server level? Please help me with the configuration here. Thanks