The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script to Park new domain on existing cpanel account

Discussion in 'General Discussion' started by djblamire, Jun 27, 2014.

  1. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    Is their a command line script available that does what can be done using the cPanel park domain command ?

    We have many existing accounts which have a website in the format www.website-name.co.uk

    We are registering a domain name with the new .uk extension - eg. www.website-name.uk

    We want the .uk domain to be parked onto the existing .co.uk account.

    Rather than manually do this via cPanel, we would like to run a command line script to do this for one or more accounts.

    Is this possible ?

    Thanks
    Daniel
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for your reply.

    There isn't already a command line script already that can be used eg /scripts/park domain1.com domain2.com ?

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The "/scripts/park" utility is deprecated and is not recommended because it's only going to create the DNS entries. Using our API is the only supported method if you prefer to use the command line.

    Thank you.
     
Loading...

Share This Page