0

I create instance of amazon server. Now i can access it using ip address. But i do not want to access amazon instance using ip address. So, any way to access amazon instance without ip from URL.

Like currently i access in URL EX: http://23.23.23.23/index.html I want to access in URL EX: http://localhost:8888/index.html 8888 is just for example. Any port is ok. or any other name instead localhost is fine for me.

Let me know asap any one has a solutions or suggestion

Thanks

harsh4u
  • 109
  • 1
  • 3
  • You cannot access an external internet website by using localhost unless you change the defination of localhost, which makes no sense, because if you do that just create a `localhost2` instead. – Ramhound Jul 02 '14 at 11:27

2 Answers2

2

Try the Public DNS of the instance. This gives you a name instead of an IP. enter image description here

pulsarjune
  • 1,291
  • 1
  • 12
  • 21
  • Thanks for reply but public dns is long name to remember. Any way to i can make it short or give any other short name? thanks – harsh4u Jul 02 '14 at 06:12
  • Buy a [domain](http://www.godaddy.com/domains/domain-name-search.aspx?ci=8990) name, add this **public dns** address in the [CNAMErecord](http://support.godaddy.com/help/article/680/managing-dns-for-your-domain-names). There you go. – pulsarjune Jul 02 '14 at 06:25
  • No, i guess.... – pulsarjune Jul 02 '14 at 12:17
1

Tou can do this in two ways

  1. Use Amazon public DNS
  2. Buy a domain name and make your instance available using domain name.
Renju Chandran chingath
  • 1,465
  • 3
  • 12
  • 19