• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

localhost:serverport

 
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello pals,
I had small dought.How to map localhost:serverport with a unique name (programmer defined name )please tell me what is the procedure for that.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll have to explain yourself more clearly. Are you asking about obtaining a domain name?
 
sandeep Talari
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes sir, like we had http://www.javaranch.com. My question is how I can map my host and port to such address.
 
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is called Domain Name System (DNS) and it is the responsibility of the Domain Name Servers to decode a given host address into a machine understandable IP addresses.

You need to follow following steps.

1. Get a publicly available ip address (localthost is not visible to others than the same host)

2. Register your domain at any of many domain registrars (like domains.yahoo.com or godaddy.com)

3. Domain registrar gives option to specify the ip, which registered domain traffic should be redirected to. There specify the server ip (from step 1).

That should do it.
[ July 09, 2008: Message edited by: Santhosh Kumar ]
 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We can do that using virtual host concept as well.

If you are using weblogic, there you have an option of virtual host.

There you can configure your ip with alias name.

Correct me if my perception is wrong.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jetendra Ivaturi:
Correct me if my perception is wrong.

That's part of the setup, but that's not going to do anything to make the server available to the Internet. The domain name must be purchased and set up on DNS servers.

As this is not a servlet question I've moved it to the general forum.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic