How to transfer website from cPanel server to CWP

Started by Administrator, December 19, 2013, 11:32:55 PM

Previous topic - Next topic

Administrator

How to transfer website from cPanel server to CWP (CentOS Web Panel server)?

First and most important install CWP by following this instructions:
http://centos-webpanel.com/installation

Configuration of WebPanel
- Setup nameservers (CWP *- > DNS Functions -*> Edit Nameservers IPs)
- Setup shared ip (CWP --> WebPanel Settings - -> WebPanel Settings)
- Setup at least one hosting package (CWP --> Accounts --> Add a Package)
- Setup root email (CWP --> WebPanel Settings - -> WebPanel Settings)

How to Setup NameServers?
You can setup your own nameserver but then you need to have at least two IPs or you can use FreeDNS:

You can use one of the Free DNS server providers like:

http://freedns.centos-webpanel.com/
http://freedns.afraid.org/

When you register on Free DNS providers site there you will get Nameservers that you can use for yours domains.
Nameservers you need to add in: CWP - > DNS Functions -> Edit Nameservers IPs
* This nameservers you enter here will be used in all configs and account setups


If you are using FreeDNS service than you will need to point yours domain to nameservers that you get on FreeDNS  website.
On FreeDNS Website you need to point domain to your server IP address.
This changes will need up to 24 hours to be visible for you.


Create New Account
- Accounts --> New Account
- SQL Services --> MySQL Manager (New Database & User)

Download Data from cPanel server
- Download all files from yours cPanel servers /home/username/public_html folder
- Download MySQL Database with phpMyAdmin from cPanel server

Upload Data to CWP server and import MySQL database
- with FTP or SSH uplaod all files to your CWP server in /home/username/public_html folder you created before with new account
- with phpMyAdmin on CWP import database you downloaded (with logins details of mysql user)
* You can zip .sql file and import it much faster

Edit yours config files that connects to MySQL database on CWP
eg. for wordpress /home/public_html/wp-config.php  (check: host, username, database and password)

and that is it, test your website.

If you use mod rewrite and .htaccess for your website than you will need to add this in your vhost file (change USERNAME)
/etc/httpd/conf/httpd_webpanel_vhosts.conf
<Directory "/home/USERNAME/public_html">
AllowOverride All
</Directory>

add this config beffore </VirtualHost> for your domain

modder

QuoteCreate New Account
- Accounts --> New Account
- SQL Services --> MySQL Manager (New Database & User)


I am assuming account is the same as domain....???

p.s. i havent started testing CWP yet but it looks promising!

Administrator


nhejo



aicon

On first time I followed the tutorial from servermoon, worket great.
In case anyone wants $10 bonus for FREE on cheap cloud VPS from Vultr:
http://www.vultr.com/?ref=6855695
-------------------------------------------------------------------------------------------------
And $10 bonus for FREE on cheap cloud VPS from Digitalocean:
https://www.digitalocean.com/?refcode=c41029801394

dencow

Sorry to bumping this thread up.
I need to know on how to migrate email accounts too from cPanel to CWP.
Any advice?

je2u

I just moved mail files (in tar archives) from cpanel server (I got them stored in /home/username/mail/domain/account) to cwp server on /var/vmail/domain/account and it worked for me.

Jason

Quote from: aicon on December 06, 2015, 10:35:13 AM
On first time I followed the tutorial from servermoon, worket great.

Same Here CWP just works!!! :)

josemnunez

You can use the Cpanel migration module and only indicate that you want to migrate mail accounts.


hdaackda

When will you guys please fix the CWP to CWP transfer??

hdaackda

Ok, now the CWP is connecting, and its transferring the account and database, but not transferring ANY file!! What to do??

AuroraFofIN

Yes we followed the same instructions mentioned in that guide. Installing vertica plug-in on informatica server was successful. we can see and create vertica connection  in workflow manager  workflow manager --> connections --> relational ---> vertica connection  . But we are not able to use the vertica connection which we have created. If we open any session and try to use that connection it is not visible for us.

NancySpeno

No problem.  Do you think it deserves its own how-to section?  I think it can be handled on the create a character page, but I don't mind creating it if it'll improve usability.