New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

cPanel Account Backup to CWP

Started by LiamTGCS, May 04, 2020, 09:26:06 AM

Previous topic - Next topic

LiamTGCS

Hey guys, hopefully someone can point me in the right direction here -

I've backed up my cPanel account from my shared, and managed web-hosting.

Everything looks fine, some files didn't transfer accross (such as sub-domain files, but that's no big deal)

I mainly wanted emails to transfer across, which seems fine thus far.

For some reason, the main domain will not load the "public_html", instead, it is showing the CentOS WP landing page.
I've checked all folders within /home/USERNAME, and unfortunately, I can not locate the placeholder index page.

Loading the account folder by navigating to the HOSTNAME URL /~USERNAME (IE: https://srv1.xxx.xyz/~USERNAME/) successfully loads the correct files, within the /home/USERNAME/public_html - so somewhere's gone wrong, as in the domain itself is not correctly pointing to the /home/USERNAME/public_html

Creating a sub-domain on the URL works fine, and I am able to access it, so there's something wrong with the main domain not pointing to the public_html folder. Again, when I access the site using the above link (srv1.xxx.xyz....), it views the content fine - accessing the domain loads the CWP landing page.

I've looked inside the /usr/local/apache/conf.d/vhosts/ files, and I've compared the main domain, to another known-working domain, and they look fine. I'm not sure what other files I should check and cross-reference, as again, the domain is simply not pointing to the correct domain (I assume)

LiamTGCS

#1
I've "Rebuild vHosts" as well as "Apache Re-Build", and unfortunately, the domain is still pointing to some unknown folder - I've had another look through the folders within the /home/USERNAME/ folder, and there's no index.html file... Strange! Any assistance would be lovely ^_^

ALSO: I've double-checked the vHosts config file for the domain, and compared it to a known-working domain (again) and can verify that the DocumentRoot and all other configs within the file are correct. So I'm quite stumped at this point.

LiamTGCS

I'm not sure if the developers are usually this hopeless and unwilling to help - after sending an email to CWP support, they literally told me, and I quote: "you had probably configured wrongly server ip if you get default page, this should be checked by experienced system admin." and "we can't guide you as said this needs to be checked by experienced system admin, home folder settings are only in the vhost files"

For anyone who has this issue when transferring from cPanel to CWP (just one account), simply add a new vHost file named: YOURDOMAIN.TLD.ssl.conf - (IE: google.com.ssl.conf) - Before doing that, however, be sure to add an SSL certificate on the domain if there is not already one present, you can do this by navigating to "WebServer Settings" -> "SSL Certificates" -> AutoSSL and proceed to manually add the SSL to the domain(s) which were transferred over with your cPanel backup.

You can simply use a pre-existing ssl.conf file, assuming you already have other domains on the server with an SSL certificate installed, and just edit the /home/USERNAME/public_html to point to the domain you're wanting to transfer-into your CWP from cPanel.

** This thread can now be closed, thanks for nothing. **