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.

2 domains and having trouble setting up the 2nd

Discussion in 'Data Protection' started by jmpearso, Jan 18, 2005.

  1. jmpearso

    jmpearso Registered

    Joined:
    Dec 19, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have the first domain set up www.example.com and am trying to set up www.exapmle2.com and when you type it in it comes up with a parent directory and cgi-bin.

    In my file manager i have it set up as:
    trash
    .backup
    etc
    mail
    public_ftp
    public_html
    tmp
    www

    inside the public_html and www i have www.example.com with all its files expanded i guess you would call it?
    then inside of public_html i have the www.example2.com folder which has everything in there.
    What am i doing wrong? Please let me know in laymens terms as i am not very savy with a computer. Where should the example2 folder go? oh and example2 is a phpp site if that makes any diff??

    Sorry for the long post
    Thanks a bunch
    Jason
     
  2. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Your main site will be under public_html and will include a cgi-bin folder. When you use Cpanel to add another domain it will be under public_html/newdomain and have a cgi-bin under the folder you select for the newdomain. It is accessible via folder from your master domain since it is an add-on, but will act as its own site as long as you put the files under that sub-folder.
     
  3. jmpearso

    jmpearso Registered

    Joined:
    Dec 19, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply...
    I went into the public_html folder but there was no newdomain folder?
    Some folders in there are:
    images
    logs
    private_html
    example2.com
    stats
    cgi-bin
    and some other ones that start with a V
    and then there are files from my other domain at the bottom?

    Should i create a "newdomain" folder?

    Thanks again
    Jason
     
  4. lennox

    lennox Registered

    Joined:
    Jan 21, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I am having the same problem

    I am also trying to set up a second domain,

    kris1351 you say that example2.com can act as its own site,

    I have tried following your instructions but I am new to cpanel and don't fully understand.
    when I try to create my second domain the URL I get is www.example1/example2.com

    Is it possible to get the URL as www.example2.com

    If so any instructions for a complete beginner.

    Thanks in advance
     
Loading...
Similar Threads - domains having trouble
  1. Dhaupin
    Replies:
    1
    Views:
    210
  2. keat63
    Replies:
    4
    Views:
    339

Share This Page