Help coderanch get a
new server
by contributing to the fundraiser
  • 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

Host alias in IIS and Resin 3

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic