• 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

URL routing

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I want to deploy my webapplication in public server so that it can be accessed outside my localnetwork.How to access my appliaction running in the server when user types the url
www.xyzcompany.com/MyProject so that he can able to run my applcation.
how can i route the www.xyzcompany.cm/MyProject to http://servername:8080/MyProject
Please can anybody give the steps to install it on the server
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the main web server running www.xyzcompany.com is Apache, you could use the mod_rewrite module for this.
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand this question.


I want to deploy my webapplication in public server ...
...how can i route the www.xyzcompany.cm/MyProject to http://servername:8080/MyProject



If you are deploying the application on public server why would you want to route it to local server?

Are you asking how to publish your application online from networking point of view? In that case you would need to register your domain and map static IP of the public server with domain name.
 
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

Are you asking how to publish your application online from networking point of view? In that case you would need to register your domain and map static IP of the public server with domain name.


That would route all traffic to www.xyzcompany.com to that server, not just www.xyzcompany.com/MyProject (which is the problem as I understand it).
 
skumar mk
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

please explain me steps on
how to map static IP of the public server with domain name


Thanks in advance
 
Siddharth Naik
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ulf for your insight. I didn't notice that.

Skumar,
You will need to find a web hosting (for java applications) and domain name registering company. Generally both these services are provided by a single company. Web hosting service will give you access to a public server and domain name service will have functionality to route your domain to IP address of specified public server. You can find tons of such companies by google search.

If you want a specific application to route to your local server then please follow the procedure described by Ulf.
[ July 04, 2008: Message edited by: Siddharth Naik ]
 
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i once used a tool called no-ip. i binds your dynamic IP to a static web address that they also provide for free. try it out. it might work for you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic