Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get site name?

 
Tusshar Fasate
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have developed one java based application.Now I want to give some user friendly name to that application so How can I do this?
URL :
http://localhost:8080/RGT

I want to make it

http:www.rgt.com

Help required on this.
Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Register a domain and find a hosting company.
 
Tusshar Fasate
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David for reply.
Suppose I dont want to put my application on internet.
I want to do it on my machine only.
So How can I do that?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You edit your hosts file. Though no one outside of your machine will be able to use the application.
 
Tusshar Fasate
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul,What do you mean by host file?
Suppose my machine is in LAN and others will access my application by that name.(like http://www.rgt.com)
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then you'd need to edit their hosts file as well.

Search the web for "hosts file" for whichever OS you're on.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tusshar Fasate wrote:Paul,What do you mean by host file?
Suppose my machine is in LAN and others will access my application by that name.(like http://www.rgt.com)


You could update DNS for you LAN. But if its a LAN, why use the www prefix?
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:
Tusshar Fasate wrote:Paul,What do you mean by host file?
Suppose my machine is in LAN and others will access my application by that name.(like http://www.rgt.com)


You could update DNS for you LAN. But if its a LAN, why use the www prefix?


Yes, too much trouble for that. Go for 100.100.100.1 and you will be happy! [=
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Hebert: Huh?
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:@Hebert: Huh?


That was an IP mask! =P

It will be easier use the ip instead www... for lan.
 
Tusshar Fasate
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks folk for your replies.
Yes I dont need to use www in LAN.
Currently my machine name is PUNIB8924
and url i write for my application is
http://PUNIB8924:8080/RGT
and I want to make it like http://RGT
How can I do it through DNS?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!