Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have this following directory structure

websites>
         webapp1>
                 product1_index.html
                 page1.html
                 page2.html
                 ...
                 page10.html
                 product2_index.html
                 page11.html
                 page12.html
                 ...
                 page20.html

I'm on a windows 2008 box with multiple ip addresses. I want to create two web sites with different ip addresses going to the same physical folder but different startup page.

x.x.x.x => base path = "websites\webapp1" start page = "product1_index.html"

y.y.y.y => base path = "websites\webapp1" start page = "product2_index.html"

As you can see, I have to have two separate websites that share the pages in the same folder but different entry point.

Something like this is trivial to setup in IIS but I have spent all day yesterday messing with the configurations files to do something like this in tomcat with no success.

Can someone point me in the right direction as to how to achieve something like this?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.