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 ›

CWP Problems and Suggestions

Started by Mamas, October 15, 2015, 06:54:06 AM

Previous topic - Next topic

Mamas

Hello. Recently I installed and configured CWP on my Centos 6.7 VPS. I had loads of issues while doing that and spent a lot of time dealing with them. I wanted to make a proper list, of issues that I dealt with, but while the time passed, i forgot. So i will post the ones that I remember, and I might add more later if I remember or find.
Nr) - The issue; * - Suggestion;

1) Mail auto-reply does not work. It just does not work. I even did create an account, still did not work.
* Make it work. Fix it.

2) User have to create an email account in order to make alias/forward to work.
* It might be some kind of a rule, but it would be much easier if that would work in background automatically, and users would not have to manually create and delete email account if they need only a alias/forwarder.

3) Root can't create email alias/forwarders. Only created user can. Why? This brings to Nr. 4.

4) Additional user has to be created in order for some functions to work (like creating email alias/forwarders). Now why do I need that extra user at all? Most of the systems that would use a FREE Server Control Panel is a SINGLE user systems, where only server admin deals with configuration and maintenance. Creating another user, especially ONLY to be able to do some things, is just annoying and consumes time (especially when you need to log out of root and log in with other user and then again back to root...).
*The feature to be able to create users is good to have, but it has to work properly, and root HAS to have ability to manage server just by himself (with one, root account).

5) The issue Nr. 4 is the reason for this next issue. While having to create additional user to manage domains, and mailboxes, the system creates problems with ownership and permissions. I already had to fix the permissions at least 3 times, because some software messes up the permissions and then system just shows an error on the webpage... AND even when I fix the permissions, the main created user folder gets root users ownership! So that means that created user CAN'T log in with FTP. :) So I have to fix it manually via SSH.
* Make a system function well without a need to create additional user. And when additional user is created, the permissions have to be right. You need to look into that. It's important.

6) Name Server records. This one is really annoying. I have worked with quite few CP's, but this one is a tuffy :) Most of users, just like me, they want to have their own Name Servers running on their server. Why is it so complicated to set them up? And there are no good tutorial how to do that. At least I couldn't find a proper one. I did found one that helped me a little, though, so I managed...  The default installation created zone records for entered domain (ns1.domain.com.db, ns2.domain.com.db), thats good, bet then I have to go to all that trouble to create another user to be able to actually ADD that domain to the system to create it's main zone. :) And when I do that, It still doesn't work. Why? Because there are no records pointing to name server IP's. These records for main domain.com zone:
ns1     14400   IN      A       IP.IP.IP.111
ns2     14400   IN      A       IP.IP.IP.112
So I find out HOW to enter those records, I try to do that, and it still doesn't work. At that point I'm confused. I try to edit the zone myself manually, and what I find out, that I can add these records ONLY manually. Edit Records function DOES NOT WORK. And even when I enter them manually I can't enter them under the line (; Add additional settings below this line), because if I do, it wont work. So for me the only way to add these records and make them work was to enter them under the line:
domain.com. IN A IP.IP.IP.110
Have no idea why it doesn't work in other editing methods.
* Create a module that would easily allow users to set if the Server is using it's own name servers or only one name server, or any other option, set name server IP's, add records automatically AND all that would be best done AFTER the adding of main domain for name servers (preferably the same domain used for hostname), not after you create ns1, ns2... It would be just so much easier if there would be such an option to select.

7) Priority for mail records are not added.
domain.com. IN MX 10 domain.com.
*Not sure how important this actually is, but from what I experienced the number 10 is added even if theres only one mail server.

8 ) Speaking about IP's and domains. I still couldn't figure out HOW to change/assign IP to a domain? I believe theres a lot of users that have more than 2 or 3 IP's and would like certain domains be assigned to different IP than the shared one. Is there any way to do that at all? Please tell me.
* Create a module for assigning IP's to domains. Best if it's set up at the point of adding a domain, and all records are created automatically. I think VESTA CP has this feature, that works quite nicely. You should check it out...

9) TTL's (time to live) in the default templates are not by the standards of RFC's. So I had to configure them according to recommended values. It gives warnings on DNS check tools when you are using inappropriate values. Best to keep it right.
* I understand that TTL's are relative and depends on each server/website individually, but all I'm saying is that you need to review those default TTL values and make them at least in borders of universal recommendations. That would save time for users to edit templates or records (hopefully they won't need to delete all domains and add them again).

10) Http test pages. This was also a tricky one. I can't find an option anywhere in CWP to be able to change the test page file. I can't find an option to delete it, or switch it off, neither I can set the pointer either. I have ns1.domain.com, ns2.domain.com, mail.domain.com and so on, in mind. If you enter these to browser, they all will open a http test page, which is quite hard to find :) But I did found it, after I found a website that told me a location of that file on a server (and that wasn't even CWP website...). So I tried to delete it, but when I do that, then after you open the address in a browser, you can see the directories that are in the same folder. And you can't change permissions, cause that might end up badly. The folders and http test file I'm talking about is not in the public_html folder, it's in "/usr/local/apache/htdocs", and teh directories that are there: phpMyAdmin, roundcube, webftp_simple. So what I did was I made a index.html file that automatically redirects to my main domain. I guess thats all I could do that made sense...
*Create an option for users to be able to change http test page easily, delete it, and name server and host links should not be pointing to a location that contains folders. And it should be easy findable and manageable.

11) Is there a way to create domain pointers? I can't find it. There are no way even to create webmail.mydomain.com and point it to mydomain.com/webmail, as there are no option to point subdomains.
* Add an easy domain/subdomain pointer module. There are loads of good examples.

12) All other domain folders have to be either in a same folder where my MAIN website is, or in a directory that is in a location where my main website is. That just doesn't make any sense. Or maybe I just can't figure out how to make it like that:
user/public_html/
mainserverdomain_com
seconddomain_com
andsoon_com
* I guess this again comes to improper user management system. It's either you have a main domain assigned to root account and on separate folder, or you have all domains managed by root and together nicely in one public_html folder. That would be much neater and easier.

13) Additional user SSH function allows him to browse other directories, doesn't bind him only to his user folder.
* If there is an option to create new users, so there should be an option to disallow new users to see other users files and folders.

14) I don't really remember what it was, but I think the next issue is because of wrong DNS template. Basically it adds user's email as it is to DNS record: user@mydomain.com. This does not work. It has to be user.mydomain.com. Example:
mydomain.com.      86400        IN      SOA     ns1.mydomain.com. hostmaster.mydomain.com. (
So i had trouble with DNS check tools, because email didn't work properly. I believe all I did was just changed a template to fix this problem.
*There should be proper email read and write into template and DNS, changing the default @ to . in the DNS record.

15) I also had some problem with php.ini, but can't recall what it was... :)

Please don't take these notices personally. I'm just trying to make a thing, that I like and appreciate, better. And thank You very much for giving me and others the ability to use this amazing control panel! ;)
Cheers!

Mamas

So CWP started charging money for support? How about first you fix all the bugs, huh?
I just removed couple of un-needed subdomains, and what do you know? One of the subdomains that was left STOPPED WORKING. What i found was that after removing subdomains the DNS record was edited automatically in a wrong manner:
Instead of giving me a nice lines of subdomain records in a main domain zone i got this:

my     14400   IN      A       IP.IP.IP.IP   ; #subdomain mywebsite     14400   IN      A       IP.IP.IP.IP   ; #subdomain website

Clearly it has to be like this:

my     14400   IN      A       IP.IP.IP.IP   ; #subdomain my
website     14400   IN      A       IP.IP.IP.IP   ; #subdomain website

Even after I fixed this record, it still did not work, so what I had to do was to remove the "website" subdomain, that was not working, and re-create it again.
It's just so annoying, that bugs like that exists at all. It takes so much time figuring out the problem (at least for non-professional users) and also so much stress.
Of course no on will give a shit about that, no one is even reading this forum post... But they NEED THE MONEY!
...