Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

here is the situation:

we have a server "srv" that runs tomcat web service.

this web service required that all connection will be using fqdn so that when we connect from our local network to srv.mydomain:8080/service the service produce a login page that we can connect.

if we`r using only srv.mydomain:8080/service from our local network we got the login page but when we try to connect there is an error (the service error) that tells that this is not the fqdn.

so far we used this service from our local network, but now we need to connect to the service from any network.

we added a sub domain called also did a port forwarding from 8080 to our srv, when we try to access we get the error that this is not the fqdn.

i must admit we are not familiar with all this IT/Network setups (simple programmers...)


share|improve this question

I see 2 solutions:

  1. Configure tomcat to accept the other domain. Use something like: <Host name="srv.mydomain" ......><Alias></Alias> </Host> See:

  2. Use a load balancer or a reverse proxy.

share|improve this answer

Your Answer


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.