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.

How do I find out which domain=which dirs in SSH?

Discussion in 'General Discussion' started by fog, Sep 3, 2002.

  1. fog

    fog Well-Known Member

    Joined:
    Jun 22, 2002
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
    When I ssh into my server I see a list of package names.. each has the html and cgi-bin dirs inside so I know these each are a domain. I need to know which domain is tied to which dir though so I can know where to extract the content I moved over. Thanks
     
  2. fog

    fog Well-Known Member

    Joined:
    Jun 22, 2002
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
    Please someone help me with this.
     
  3. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I don't understand what you mean by package names.

    Go to WHM and look at List Accounts. You will get a list of domain names and usernames on the server.

    Go to SSH and:

    cd /home
    ls -l

    You will see a list of directories. Each directory is a useraccount and is named the same as the username for each domain.
     
  4. fog

    fog Well-Known Member

    Joined:
    Jun 22, 2002
    Messages:
    164
    Likes Received:
    0
    Trophy Points:
    16
    Thanks :)
     
Loading...

Share This Page