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

fog

Well-Known Member
Jun 22, 2002
164
0
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
 

Marty

Well-Known Member
Oct 10, 2001
630
1
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.