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.

Park multiple domains at once

Discussion in 'General Discussion' started by alareach, Jun 1, 2002.

  1. alareach

    alareach Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I am moving a client to cpanel and he has over 100 parked domains. I know you can park in WHM and on the command line /scripts/park

    Is there a way to write a text file to execute which will park all of the domains at once...

    I know on an Alaban$a server I can create a todo list and add many at one time (at least for dns)

    Any ideas?

    Thanks
    AH
     
  2. jumpdomain

    jumpdomain Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    You will need to write a script to do this. This script will show you basically what you need:
    /scripts/park
     
  3. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    you could do somthing like this. create a file with all the parkdomains we'll say it's called parkthem.db then do somthing like this

    for i in `cat parkthem.db`;do /scripts/park maindomain.com $i;done


    example of what parkthem.db would look like

    domain1.com
    domain2.com
    domain3.com
     
  4. Silver_2000

    Silver_2000 Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    338
    Likes Received:
    1
    Trophy Points:
    18

    It parks them but NOT on the right domain and they dont appear in the parked list in cpanel - they just disappear in to ether in the server
     
  5. silversurfer

    silversurfer Well-Known Member

    Joined:
    Dec 29, 2002
    Messages:
    274
    Likes Received:
    0
    Trophy Points:
    18
    /scripts/park only create the DNS more or less. It does add it to the alias, or update the cpanel users file.

    This is an issue I am still researching as well. I think parkwrap may be it. But I need to figure out the syntax.
     
Loading...

Share This Page