LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-16-2016, 01:46 AM   #1
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Rep: Reputation: Disabled
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.
 
Old 08-16-2016, 04:11 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What is cwp?
 
Old 08-18-2016, 09:49 AM   #3
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
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/
 
Old 08-18-2016, 10:09 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Define 'data' please.
Web content to be sure. What else is associated with this account on the original host?
 
Old 08-19-2016, 04:40 AM   #5
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-19-2016, 06:46 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://wiki.centos-webpanel.com/how-...nt-from-cpanel
 
Old 08-19-2016, 07:37 AM   #7
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-19-2016, 09:22 AM   #8
yknivag
LQ Newbie
 
Registered: Jul 2016
Location: Wiltshire, UK
Distribution: Linux Mint 17.1, OSMC, OpenSUSE
Posts: 7

Rep: Reputation: Disabled
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.
 
Old 08-19-2016, 10:27 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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.

Last edited by Habitual; 08-19-2016 at 10:43 AM.
 
Old 08-19-2016, 10:53 AM   #10
24x7servermanagement
Member
 
Registered: Jul 2016
Location: India
Distribution: CentOS, Redhat, Ubuntu and Debian
Posts: 57

Rep: Reputation: Disabled
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.
 
Old 08-21-2016, 03:05 AM   #11
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
Dear Friends,

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

Regards,

Redssr
 
Old 08-21-2016, 03:05 AM   #12
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
Dear Friends,

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

Regards,

Redssr
 
Old 09-02-2016, 04:39 AM   #13
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
Hello,

Experts,

You are simply awesome friends, it worked perfectly.
Thanks again friends. I am marking this thread as SOLVED.
 
Old 09-02-2016, 09:43 AM   #14
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Glad it worked out!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to login phpmyadmin of CWP server redssr Linux - Newbie 1 08-16-2016 01:37 AM
LXer: Migrate from Plesk to cPanel via command line LXer Syndicated Linux News 0 01-17-2012 11:03 PM
Cpanel/WHM Died at /usr/local/cpanel/Cpanel/Hulk.pm line 92. liang3391 Linux - Software 1 06-22-2009 02:02 PM
Just Purchased a Linex Server Can someone install and migrate my website for me DizzyNetwork Linux - Hardware 3 12-01-2008 07:17 PM
Migrate Website PhuckFonix Linux - General 1 06-06-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration