[SOLVED] how to migrate non Cpanel website to cwp server
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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.
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.
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.