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

I have a local host server hosting a few applications in tomcat which comes through a apache proxy

The client or User trying to access these application has to access them like




But I want to replace the ip address with soem other name related to my applications. But I cannot go and enter the host name of the server in each users /etc/host Nor do I want to be setting up DNS.

Is there another way to do this.

I am using

ProxyPass XXX YYY

to redirect all applications of tomcat to port 80

share|improve this question

You need to set up and configure DNS.

share|improve this answer
Thanks, but any way other than that? – S.M.09 Oct 22 '12 at 10:49
You could edit every hosts file, but that's obviously a bad solution. What's the problem with setting up DNS? – MDMarra Oct 22 '12 at 10:52
@S.M.09 Those are the only two ways to do it. – Michael Hampton Oct 22 '12 at 14:01

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.