Kloxo: park many domains at once

With google retiring parked domains, you may want to host a parking page yourself… which is easy to do yourself but if you have hundreds of domains, what do you do?

Assuming Kloxo is installed (which preassumes centos 5), with the following script, you can add all of them in one go parked to a parent domain with the following script:

#!/bin/bash
if [[ $# < 1 ]]; then
  echo “Mass Domain Add via Kloxo”
  echo Usage:
  echo “addparked parentdomain.com <1perlinedomainfile.txt”
  echo addparked parentdomain.com
  exit
fi
while read line
do
   /script/add-parent-class=domain –parent-name=$1 –class=addondomain –name=$line–v-type=parked
done

Leave a Reply

Your email address will not be published. Required fields are marked *