LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to migrate non Cpanel website to cwp server (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-migrate-non-cpanel-website-to-cwp-server-4175587159/)

redssr 08-16-2016 01:46 AM

how to migrate non Cpanel website to cwp server
 
Hi,

Friends,

I have a newly created cwp centos server. Now I want to migrate data from non Cpanel server to this server. I am getting tutorials of how to migrate website from Cpanel to cwp, but my requirement is different.
Secondly where to configure the newly added website in apache of cwp.

Any help will be really appreciable.

Regards,
Redssr.

Habitual 08-16-2016 04:11 AM

What is cwp?

redssr 08-18-2016 09:49 AM

Dear Habitual,

Thanks for replying.,

CWP stands for CentOS Web Panel. Its an alternative and free version of Cpanel launched in 2016. For reference kindly refer http://centos-webpanel.com/

Habitual 08-18-2016 10:09 AM

Define 'data' please.
Web content to be sure. What else is associated with this account on the original host?

redssr 08-19-2016 04:40 AM

Dear Habitual,

I apologies for your inconvenience. Lets me explain.

I had two servers one is old server is normal centOS server running websites with php mysql.
The second server is newly created and has installed CWP (centOS Web Panel) on it. This CWP server is exactly works like Cpanel server.
Now My problem is i had never worked on Cpanel as well as on CWP setup server. Means how to add and configure website in these.

Now i want to move my website from old server (which is just normal CentOS server) to this newly created server and as i am not familiar with this new setup i am stuck here. How to move website and configure apache to load my website.

I hope this had cleared your doubts now.

Regards,

Redssr.

Habitual 08-19-2016 06:46 AM

http://wiki.centos-webpanel.com/how-...nt-from-cpanel

redssr 08-19-2016 07:37 AM

Dear Habitual,

Thanks for posting the url. I already gone through it. its for migration from Cpanel.
I hope you had not got my concern yet.

I had to move data from NON CPANEL server. its just a normal CentOS server, and from there i want to move my data to CWP server.

yknivag 08-19-2016 09:22 AM

To a certain extent it will depend how many domains you need to move and how many configuration elements there are for each domain.

If you have only a small number of domains/sites then it will probably be easiest to create the domains/sites/databases all blank through the CWP frontend and then simply transfer the files from the old webroot directories to the new ones and then transfer databases by exporting them on the old server and importing on the new one.

If you have a large number of domains or domains with many subdomains or complex configuration then you might want to see if you can find a migration solution.

Habitual 08-19-2016 10:27 AM

In short, the "migrations" will have to be manually done.
html content and the associated databases?
Any popular CMS delivery packages, such as Wordpress, Joomla!, e107, Drupal, Magento, Shopping Cart?

Create accounts for the new domains on the new host, examine the hosts' physical environment after using cwp
to create them.
My Advice? Accept the 'defaults' that cwp presents (for the first go-round).

DistrosDefaultLayouts may differ, but there's always DocumentRoot involved. No matter where configured.
I'd let cwp do what it wants, or "has" to do, and then modify apache-related.conf files on the new server to suit.
And those should only be to alter the DocumentRoot for the cwp/account/domain.

Hope that helps.

24x7servermanagement 08-19-2016 10:53 AM

You are going to migrate the things from non-cpanel based server, which is pretty easy but have lots of manual work. Whenever you add any hosting account to CWP then the default document root of that folder /home/user/public_html/ DO NOT change or set any other document root manually in httpd.conf, since when CWP rebuild it will override all custom changes made to httpd.conf

Secondly, if you have 5,10 sites on non-cpanel based server then,

i) Create all accounts on CWP first.
ii) Move all files from old server to new server using rsync,scp etc (Do the same for all accounts)
iii)Create database,database-user If any
iv)Modify the config files accordingly on new server
v) Tests the site(s) on cwp by force host file lookup or with temp link
vi) If you want to migrate emails as well, then I will advise to go with imapsync

Note : There is no such migration tool to move accounts from plain servet to CWP.

redssr 08-21-2016 03:05 AM

Dear Friends,

Thanks for your valuable replies. I will soon try your concerns and will try to revert back you ASAP.

Regards,

Redssr

redssr 08-21-2016 03:05 AM

Dear Friends,

Thanks for your valuable replies. I will soon try your concerns and will try to revert back you ASAP.

Regards,

Redssr

redssr 09-02-2016 04:39 AM

Hello,

Experts,

You are simply awesome friends, it worked perfectly.
Thanks again friends. I am marking this thread as SOLVED.

Habitual 09-02-2016 09:43 AM

Glad it worked out!


All times are GMT -5. The time now is 05:36 AM.