Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to forward a website running on example.com:8181(Tomcat Service) to myapp.example.com(In IIS) subdomain which is running on IIS 7 .

If you could outline the specific steps I need to take I'd appreciate it.

share|improve this question
add comment

1 Answer 1

One easy way is to setup a JavaScript-based redirection from your Tomcat home page. Add this to your index.html or equivalent:

<script language="javascript" type="text/javascript">
    window.location.href="myapp.example.com";
</script>

I am sure there is a better and more Tomcat way of getting it done through rewrite rules like UrlRewriteFilter

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.