Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

dynamic update of dns entries

Discussion in 'cPanel Developers' started by satish.perala, May 6, 2010.

  1. satish.perala

    satish.perala Registered

    May 6, 2010
    Likes Received:
    Trophy Points:
    I am trying to host multiple sites on a single webapp in tomcat server.
    For example, XYZ Consulting and several other such sites point to my web server (apache) and to application server (tomcat) to fetch the content.
    My web app is hosted at should forward to
    XYZ Consulting should forward to

    Can you tell me how to configure dns entries, apache and tomcat configuration??
    These multiple site will 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
  2. leefrom

    leefrom Active Member

    May 27, 2008
    Likes Received:
    Trophy Points:

    You should be able to make the DNS and Apache changes fairly trivially using the cpanel xml-api:

    XML and JSON APIs

    It sounds like the DNS is the only thing you'll really need to automate via cpanel, from your description.

Share This Page