Linux Today: Linux News On Internet Time.

More on LinuxToday

Dynamically manage Apache virtualhosts

Sep 18, 2011, 14:00 (0 Talkback[s])

[ Thanks to Jagbir Singh for this link. ]

"Here I would describe how to manage DNS to dynamically recognize newly created virtualhosts. Again, this might not be the best or efficient way to implement this but this is what worked for me. After creating virtualhosts in Apache, you need to update DNS so that new virtualhosts start working. To update DNS dynamically, your DNS provider should have some way (like API) which enable you to manipulate its records. There are few providers offering this facility. For this experiment, I selected DNSMadeEasy which provides APIs to add/remove/update records on fly using scripts."

Complete Story

Related Stories: