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 lot of domains and it's getting hard to manage so I want to add a string to the end of every file opened in Apache so I can request any domain if check if the string is there so I will know the domain is working and with my dns.

share|improve this question
up vote 0 down vote accepted

Mod_Layout should do the trick; it allows you to add a header/footer to all displayed pages of a certain file type, so you could add your string as a HTML comment.

<!-- This webpage is provided by XCompany! -->

And search for that. Shouldn't effect any of the websites while giving you what you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.