• 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

How to get site name?

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Hebert: Huh?
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic