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

1
  • 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 2, 2014 at 11:27

2 Answers 2

2

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

3
  • 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 2, 2014 at 6:12
  • Buy a domain name, add this public dns address in the CNAMErecord. There you go.
    – pulsarjune
    Jul 2, 2014 at 6:25
  • No, i guess....
    – pulsarjune
    Jul 2, 2014 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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .