LinuxQuestions.org
Visit Jeremy's Blog.
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, 02:46 AM   #1
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 95

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, 05:11 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,652
Blog Entries: 10

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

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, 11:09 AM   #4
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,652
Blog Entries: 10

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

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, 07:46 AM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,652
Blog Entries: 10

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

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, 10:22 AM   #8
yknivag
LQ Newbie
 
Registered: Jul 2016
Location: Wiltshire, UK
Distribution: Linux Mint 17.1, OSMC, OpenSUSE
Posts: 5

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, 11:27 AM   #9
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,652
Blog Entries: 10

Rep: Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075
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 11:43 AM.
 
Old 08-19-2016, 11:53 AM   #10
24x7servermanagement
Member
 
Registered: Jul 2016
Location: India
Distribution: CentOS, Redhat, Ubuntu and Debian
Posts: 49

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, 04:05 AM   #11
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 95

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, 04:05 AM   #12
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 95

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, 05:39 AM   #13
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 95

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, 10:43 AM   #14
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,652
Blog Entries: 10

Rep: Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075Reputation: 2075
Glad it worked out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:37 AM
LXer: Migrate from Plesk to cPanel via command line LXer Syndicated Linux News 0 01-18-2012 12:03 AM
Cpanel/WHM Died at /usr/local/cpanel/Cpanel/Hulk.pm line 92. liang3391 Linux - Software 1 06-22-2009 03:02 PM
Just Purchased a Linex Server Can someone install and migrate my website for me DizzyNetwork Linux - Hardware 3 12-01-2008 08:17 PM
Migrate Website PhuckFonix Linux - General 1 06-06-2004 04:25 PM


All times are GMT -5. The time now is 10:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration