I need to create a script to park a domain like this on each new account:
$cpaneluser.`hostname` (ie. user.server.example.com) => parked to the www domain
So the users can access there as if it was their "alternate domain" (ie, if their dns's fail, or if they want to try the service before pointing their actual domains).
I know I can do it with the /scripts/postwwwacct hook, but I haven't found any way to park a domain using bash. So I'm parking it manually for now.
How can I park the domain automatically for it to work?
PS EDIT: I've found /scripts/park but I'm not using it since it claims that it shouldn't be used ("!!!!!!!!!!!!! This script is deprecated and will be removed in future builds !!!!!!!!!!!!!")



LinkBack URL
About LinkBacks
Reply With Quote





