I bought a VPS hosting and a domain name . I have linked the domain name and nameservers of the VPS. But I am not able to access my website through the domainname. I was able to access it through the IP address. I have a basic html page deployed to the Apache server on the VPS machine.
Actually i installed a webmin CPanel in the CentOS 7 based VPS. I created two nameservers(ns1.mydomainname.in and ns2.mydomainname.in) using the cpanel and I have set the domain nameservers to these nameservers that I have created.
But all terminal requests like PING NSLOOKUP are failing. Can't figureout why. I am new to VPS hosting. All I have been using so far are the shared hosting and cloud services. Please help me to solve this problem.