xoail
04-27-2009, 06:54 PM
I am trying to move one of my client's website to my cpanel reseller account...but its quite confusing... client's website root structure is something like this:
bin/
dev/
etc/
home/
lib/
sbin/
tmp/
usr/
var/
while cpanel root structure is something like this:
.htpasswds/
.mozilla/
etc/
mail/
public_ftp/
public_html/
tmp/
www/
..some files
I am really confused how to migrate the site to my hosting account. Any idea what could be the control panel on client's side. btw, client has no idea..
thanks!
Harzem
04-27-2009, 06:56 PM
Have you navigated through "/home"?
xoail
04-27-2009, 07:24 PM
under home there are two sub-folders mainweb_cgi and mainweb_html. Double clicking on those folders directly takes me to var/www/cgi-bin and var/www/html respectively (its more like a short cuts).
I wonder whats that mean...
larry2148
04-27-2009, 08:21 PM
It sounds almost like they are on a dedicated / vps server. That website root structure you posted sounds very weird, almost like your looking that the folders in the / partition. The var/www/html is the standard home directory for html code when you just install generic Apache I think. The shortcuts you see are pretty standard symbolic links.
What username are you using to login to the system? What's the output of the "mount" command?
Maybe a linux guru will be able to shed some more light than my humble suggestions;)
xoail
04-27-2009, 08:29 PM
yeah it cd be they are one vps or dedicated.. but they only gave me ftp access to which I connect something like this server: ; www.sitename.com user: admin@sitename.com pass: xxxxx
they also have a db to which I have an access something like sitename.com/phpmyadmin
hope that will give you guys some indication...
larry2148
04-27-2009, 08:57 PM
PHPMyAdmin is a control panel for MySQL databases, so that doesn't have anything to do with some kind of hosting control panel. Can you ask the current host for the login information? Maybe they'll send you the login information to the control panel(if there is one). The other possibility is that they just have a bunch of html files in the standard directory and that works for them. Is it a database driven site? Do you actually see their html files in the html folder you mentioned earlier?
mooseweb
04-27-2009, 09:08 PM
Open up /home and see what's inside, you should see something familiar to the cPanel directory.
If not then I misunderstood your question.
xoail
04-27-2009, 09:12 PM
I dont think there is a control panel.. I asked them already... I do see some html files and site related directories in var/www/html folder. the var folder structure is something like this:
lib/
log/
mail/
rum/
spool/
tmp/
usage/
www/
www structure is:
cgi-bin/
html/
interpreters/
thanks for coming forward to help me...
larry2148
04-27-2009, 09:43 PM
I think you need to copy those files you see into the cpanel public_html folder. If it is a static html site, it should copy over no problem, if there's a database you will probably have to do some additional configuration.