I purchased Amazon EC2 instance and installed Ubuntu Server on it.
I have domain name example.com , the current nameserver of my domain is : ns1.hostcompany.com , ns2.hostcompany.com .
I want to point mydomain.com to the Instance and make nameservers like ns1.mydomain.com and ns2.mydomain.com. I have an Elastic IP associated with the instance.