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 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

10.XXX.XXX.XX:8080/appName 

OR

10.XXX.XXX.XX/appName 

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
add comment

1 Answer 1

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
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.