Ask HN: How do you manage multiple domains?
3 comments
Excel worksheet, with columns for all of that. Because I, like my users, want to do everything the stupidest way fucking possible, and ensure that something gets horribly fucked up along the way.
/s
/s
> What tools or strategies do you use
Linux CLI tools, and cron.
This little bash script is run by cron once a month:
When the one at the top gets "close enough" to now, I renew it.
Linux CLI tools, and cron.
This little bash script is run by cron once a month:
#!/bin/bash
DOMAINS="... space separated list of domains here ..."
for dom in $DOMAINS ; do
expire=$(whois "$dom" \
| grep "Registry Expiry Date:" \
| cut -f 2- -d : \
| tr -d " ")
printf "%-20s %-15s\n" "$expire" "$dom"
done | sort
When it finishes its run, cron then sends me an email of the script's output, which is a list of domains and their expire dates, sorted in increasing order.When the one at the top gets "close enough" to now, I renew it.
Thanks for the snippet. I wish it would work for all TLDs.
I manage over 40 domains and often face challenges related to tracking and renewing them. Have any of you experienced similar difficulties? What tools or strategies do you use to manage multiple domains and prevent accidental expirations?
My search for a solution inspired me to create a tool called KIT.DOMAINS, which helps track domain and SSL certificate expirations and provides issue notifications. I would love to hear what methods or tools others in this community use.
Thanks in advance for your responses!