• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL routing

 
skumar mk
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • 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.
 
Siddharth Naik
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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: 42968
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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 ]
 
Robert Darling
Ranch Hand
Posts: 100
Android Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic