This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Host alias in IIS and Resin 3

 
Sergio Chac´┐Żn
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have one host configured in resin with some aliases. I have the same configuration in IIS. My problem is that when I try to run a servlet using IIS it only works if I use the main URL. If I use any of the other URLs I get a IIS 404 error.

Example:
- IIS port 80: host www.a.com
alias1 www.b.com
alias2 www.c.com
- Resin port 8080: host www.a.com
alias1 www.b.com
alias2 www.c.com

If I try to run http://www.a.com/myservlet it works as well as http://www.a.com:8080/myservlet.

But If I try to run http://www.b.com/myservlet I get IIS 404 error, although http://www.b.com:8080/myservlet works perfectly.

Can anybody help me?

Thank you,
Sergio
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic