Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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:
    166
    Please someone help me with this.
     
  3. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. fog

    fog Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice