• 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

Editing URL of an Application

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am a having one web Application in JBoss server.
To access the Application from the local System we use

http://localhost:8080/AppName and from a remotely connected Sys
http://IPAddress:8080/AppName.


I want to give a universal name something like

http://commonToAll:8080/AppName .

Which can be invoked from any location.
User don't have to Specify the IP Address.


Can any body Give some Idea to Proceed in this approach
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can register the domain "commonToAll", and point its DNS entries to the public IP address of whichever server your application is running on.
 
abinash das
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:You can register the domain "commonToAll", and point its DNS entries to the public IP address of whichever server your application is running on.



Exactly How should i Register and how to point it to DNS entry.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are any number of companies where you can register domains; a quick search will find many of them: domain name registration
 
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
Nor a JSP issue. Moved to General Computing.
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:and point its DNS entries to the public IP address of whichever server your application is running on.



I didn't get that.
How do you get public IP address of server?
How to point DNS entries to that IP address?

What I think is you'll have to deploy your application on "their" server from whom you purchased domain name & "space".
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ankur rathi wrote:

Ulf Dittmer wrote:and point its DNS entries to the public IP address of whichever server your application is running on.


What I think is you'll have to deploy your application on "their" server from whom you purchased domain name & "space".



No, not at all. All you need is for your application to run on a machine with a "static" (unchanging) IP address of its own. For example, many cable ISPs will sell a static address for a small upcharge. If you're not paying for a static IP address, you probably don't have one, meaning your server is going to appear at different addresses over time. It might not change often, but it will change.

Anyway, given that you pay for a static IP, you probably know what it is; otherwise, you can always ask your OS what the machine's IP address is (in the Windows "Networking" control panel, for example, or by running ifconfig on Linux.) Then in addition you can pay your ten dollars a year to GoDaddy.com or one of many other name registrars, and they ask you for the name you want to use and the static IP address of the server, and Boom! The Internet knows about your server, and http://commonToAll goes to your machine, from anywhere.
 
ankur rathi
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ernest Friedman-Hill wrote:

ankur rathi wrote:

Ulf Dittmer wrote:and point its DNS entries to the public IP address of whichever server your application is running on.


What I think is you'll have to deploy your application on "their" server from whom you purchased domain name & "space".



No, not at all. All you need is for your application to run on a machine with a "static" (unchanging) IP address of its own. For example, many cable ISPs will sell a static address for a small upcharge. If you're not paying for a static IP address, you probably don't have one, meaning your server is going to appear at different addresses over time. It might not change often, but it will change.

Anyway, given that you pay for a static IP, you probably know what it is; otherwise, you can always ask your OS what the machine's IP address is (in the Windows "Networking" control panel, for example, or by running ifconfig on Linux.) Then in addition you can pay your ten dollars a year to GoDaddy.com or one of many other name registrars, and they ask you for the name you want to use and the static IP address of the server, and Boom! The Internet knows about your server, and http://commonToAll goes to your machine, from anywhere.



Thanks EFH. Nice explaination.
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic