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 ›

Domain Addons

Started by DragoCom, December 23, 2023, 03:37:33 AM

Previous topic - Next topic

DragoCom

I have registered 2 new domains and I have added them in cwp user under a domain (domain1) already set up. I changed the path to /home/user1/public_html for domain2 and one works fine and goes to www.domain2.xyz when called in the browser as I want it to go to domain2 and not domain1 (although domain1 will work when called as well). But the other domain I have set up does not go to domain3. When I type in www.domain3.xyz it starts to go to it then changes to www.domain1.xyz instead. Why does work fine but the other doesn't?

Starburst

So how add on domains work, is it points to the main /public_html of the main domain by default.

If you want different sites, you have to point to sub-directories.

e.g.

MAIN DOMAIN: /home/user/public_html

DOMAIN 2 (You want to show the same as MAIN): /home/user/public_html

DOMAIN 3 (You want a different site): /home/user/public_html/domain3

In your DNS, all 3 domains will point to the same IP.

Hope that helps.

DragoCom

Quote from: Starburst on December 23, 2023, 04:07:24 PM
So how add on domains work, is it points to the main /public_html of the main domain by default.

If you want different sites, you have to point to sub-directories.

e.g.

MAIN DOMAIN: /home/user/public_html

DOMAIN 2 (You want to show the same as MAIN): /home/user/public_html

DOMAIN 3 (You want a different site): /home/user/public_html/domain3

In your DNS, all 3 domains will point to the same IP.

Hope that helps.

I have it set this way for both accounts. I have 2 new domains I pointed each one to it's main domain public_html for that account, just as you have shown here:

MAIN DOMAIN: /home/user/public_html

DOMAIN 2 (You want to show the same as MAIN): /home/user/public_html

One works with one account and one goes to the main instead of the domain2.

I will show you with the actual domains:

I have upward.cf as the main account domain, I registerted upwardchristforward.xyz and pointed it to /home/upward/public_html and when I go to upwardchristforward.xyz  it works fine and stays on this domain.

But...

I have phildo.cf and I registered phildo.xyz and pointed it to the phildo.cf main folder which is /home/phildo/public_html but when I try to go to upwardchristforward.xyz it changes to upward.cf.

I am trying to get away from the .cf's because my spf and dkim isn't working with freenom correctly and I get google mails bounce back for verification issues.

Starburst

Quote from: Starburst on December 23, 2023, 04:07:24 PM

But...

I have phildo.cf and I registered phildo.xyz and pointed it to the phildo.cf main folder which is /home/phildo/public_html but when I try to go to upwardchristforward.xyz it changes to upward.cf.

I am trying to get away from the .cf's because my spf and dkim isn't working with freenom correctly and I get google mails bounce back for verification issues.

That is correct, from what you listed above, upwardchristforward.xyz should goto upward.cf.
Just like you said phildo.xyz should goto phildo.cf.

So not sure what isn't working.

rcschaff

phildo.xyz redirect to .cf because of the software package you are using on that account.  Much like wordpress, it will redirect all requests to the domain set in the backend.  So no matter what domain name used to access the site, will always end up with phildo.cf in the address bar.
Google Hangouts:  rcschaff82@gmail.com

DragoCom

Quote from: rcschaff on December 23, 2023, 07:05:37 PM
phildo.xyz redirect to .cf because of the software package you are using on that account.  Much like wordpress, it will redirect all requests to the domain set in the backend.  So no matter what domain name used to access the site, will always end up with phildo.cf in the address bar.

So you're saying it works just fine with Wowonder PHP Script for ucf site but doesn't work for Sngine PHP Script for phildo.xyz? They are almost identically the same script, they copy off each other so it shouldn't be a problem. I have never had this problem using WordPress since 1997 either. It's got me stumped.

rcschaff

What I'm telling you, is that Philio.xyz is 302 Redirecting.  Whether it's your server (apache/nginx), or it's the actual Webapp, I don't know, but if you open developer tools, you will see it.

https://prnt.sc/ePPfi8OBbg96

Whereas upward does not do a 302 redirection.

https://prnt.sc/_Dn9vcrhfDpY
Google Hangouts:  rcschaff82@gmail.com