I have a java application hosted in aws as an ec2 instance with a hosted zone and record sets for NS and SOA and it works fine.

I access the application using a url which looks like https://xxx.xxx.xxx.xxx:xxxx/----

I have a registered domain name and I want to map the domain name to the above address. I tried creating A record but the name is not being resolved. It gives me the error 'Server not Found'.

How do I assign my domain name to point to my existing IP.?

closed as off-topic by HopelessN00b, mdpc, Jenny D, HBruijn Jan 25 '16 at 13:11

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.


The way to do this is to create a DNS A record.

  • I tried doing that but my IP is It does'nt accept the port along with the IP – Kunal K Jan 21 '16 at 9:29
  • That's correct, the DNS knows nothing about and does not care about ports. – Iain Jan 21 '16 at 9:35
  • @KunalK Before you go any further, do yourself and the internet a good deed: read this tcpipguide.com/free/t_TCPIPDomainNameSystemDNS.htm – Iain Jan 21 '16 at 9:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.