A
A
artsdeep2016-02-26 17:32:32
tomcat
artsdeep, 2016-02-26 17:32:32

How to remove redirect to localhost?

I open a link to the application mysite:8080/test - everything is OK, then I go to mysite:8080/test2 the application goes to mycomp.local:8080/test2 - it should be noted that I open links not on the computer where tomcat is located. With what it can be connected and how it to win?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gonchik Tsymzhitov, 2016-02-26
@artsdeep

Change the hostname or make an alias.

<Host name="localhost" ...>
       ...
       <Alias>servername</Alias>
       ...
</Host>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question