Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am trying to host multiple sites on a single webapp in a tomcat server. For example, and several sites fetch content from my webapp hosted on tomcat with apache as the web server. My web app is hosted at should forward to should forward to

Can you tell me how to configure dns entries, apache and tomcat configuration to achieve this scenario?? These site will have to be added dynamically! so is there any way to update the dns entries dynamically without restarting the dns server ... and similarly for apache and tomcat also??

Thanks very much in advance

share|improve this question

migrated from May 7 '10 at 4:56

This question came from our site for professional and enthusiast programmers.

=> (But: A DNS server that required a restart when you edited DNS information would not be fit for purpose. :) ) – T.J. Crowder May 6 '10 at 14:47

You haven't stated which DNS server you're using. If it's BIND then just do rndc reload. That causes named to reload the config and zone files without doing a restart.

share|improve this answer

I think that your question might be malformed, but you can do this right now by just sending named a SIGHUP which will make it reload the name database.

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.