This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

localhost:serverport

 
sandeep Talari
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64183
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Santhosh Kumar
Ranch Hand
Posts: 242
  • 0
  • Mark post as helpful
  • send pies
  • 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 ]
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • 0
  • Mark post as helpful
  • send pies
  • 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
Author and ninkuma
Marshal
Pie
Posts: 64183
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic