Sync domains in a hosting environment automatically

Table of Contents

Use Case:

If you are a hoster you probably want to synchronize available domains with nimbusec automatically.

Tools to use:

  • nimbusec sync-domains script
  • nimbusec create-agent-configuration script

Steps:

  • Download the nimbusec agent from the nimbuse portal https://portal.nimbusec.com/einstellungen/serveragent
  • Download and build the hoster-tools scripts from nimbusecs Github account https://github.com/cumulodev/hoster-tools
  • Create a script which fetches all available active domains of a server
  • Create a script that combines the process of
    • fetching all active domains (your script)
    • create nimbusec agent configuration, and save it to the right place (nimbusec create-agent-configuration script)
    • sync domains by adding new ones, delete removed/inactive (nimbusec sync-domains script)
    • log differences
Still need help? Get in touch!
Last updated on 22nd May 2018