Skip to main content

Rename addon/alias domain

Comments

2 comments

  • cPanelLauren
    Why not use the API to add/remove them rather than modify the files directly which may or may not be recognized by cPanel fully? Create a parked/alias domain: Remove a parked/alias domain:
    0
  • GregorDHH
    That is my plan. But I also need to copy and modify things that do get deleted if I don't want to loose this information: /var/named/${DOMAIN}.db /etc/valiases/${DOMAIN} /etc/vfilters/${DOMAIN} /var/cpanel/userdata/${USER}/${DOMAIN} /var/cpanel/userdata/${USER}/${DOMAIN}_SSL Does anything else get deleted when removing addon/parked domain?
    0

Please sign in to leave a comment.