Recent Posts

Pages: [1] 2 3 ... 10
1
How to / Re: Change Domain path to subfolder?
« Last post by overseer on Today at 10:22:38 PM »
WebServer Settings  > WebServers Conf Editor Apache > /usr/local/apache/conf.d/vhosts/ > yourdomain.conf
Set the DocumentRoot to:   
Code: [Select]
DocumentRoot /home/username/public_html/public
2
How to / Re: Change Domain path to subfolder?
« Last post by DragoCom on Today at 09:55:33 PM »
Yep @overseer is on to what I was referring to with the VHosts  ;D

TBH I perfer to keep servers stock as I find it hard to remember what custom mods I've made to each months later.

If you want to update all PHP files within your public folder (obviously not if you've moved the site there already) you can use the below. It should find & replace all 'old_pathway' to 'new_pathway' in all PHP files within the directory you run it in.

Code: [Select]
find . -name "*.php" -exec sed -i 's/old_pathway/new_pathway/g' {} \;

I have done the find and replace on my pc and I went to change the /home/account/public_html/public back to /home/account/public_html but all the domain.com.conf and domain.com.ssl.conf show /home/account/public_html. I cannot find where I did the change at and I have checked conf files under apache and nginx both since I run both. I even looked at the conf files in cli, same thing. Anyway I can find /home/account/public_html/public string in cli without opening hundreds of files to find it?
3
CWP is a LAMP stack made for traditional web hosting, with an admin and user panel. NextCloud is best accomplished as a dedicated server or in a container, so not the best fit for CWP. Best to have a purpose-built dedicated server for other specialized uses.
4
@Andrew C

You'll be pretty much on your own if you need support directly from CWP.  :-\

1. CWP support doesn't offer support for 3rd party servers like Nextcloud.
2. Or MariaDB 11.x. - They won't even help with support for 10.11.x
3. You'll also get a reply from CWP for AL9 is in beta, and not supported.

That doesn't mean it hasn't been done, or can't be done.

Just means it will put your SysAdmin knowledge to the test probably, and you might be in the CLI allot.
5
Hello,

I’m looking to find out whether Nextcloud is fully compatible with CWP running on AlmaLinux 9.x using MariaDB 11.4.x. Before setting up a new instance, I want to make sure there are no major issues with installation, database support, or general functionality.

Has anyone tested this setup or is currently running Nextcloud with these versions?
Any feedback or tips would be greatly appreciated.

Thanks
6
How to / Re: Change Domain path to subfolder?
« Last post by 6Sense on Today at 05:56:01 AM »
Yep @overseer is on to what I was referring to with the VHosts  ;D

TBH I perfer to keep servers stock as I find it hard to remember what custom mods I've made to each months later.

If you want to update all PHP files within your public folder (obviously not if you've moved the site there already) you can use the below. It should find & replace all 'old_pathway' to 'new_pathway' in all PHP files within the directory you run it in.

Code: [Select]
find . -name "*.php" -exec sed -i 's/old_pathway/new_pathway/g' {} \;
7
How to / Re: Change Domain path to subfolder?
« Last post by overseer on Today at 01:58:18 AM »
Set the desired DocumentRoot in the vhost conf file for your domain. I have to do this for a Drupal site that uses /home/username/public_html/web as the document root.
8
How to / Re: Change Domain path to subfolder?
« Last post by DragoCom on Today at 01:24:19 AM »
Might seem like a dumb question can't you just update the path that the PHP script points to?

Would be an easy fix and you wouldn't have to mess around with 301 redirects or man handling Virtual Host files

It would most likely require re-writing php code in a lot of files of the script. It's not a selectable or changeable setting available.
9
How to / Re: Change Domain path to subfolder?
« Last post by 6Sense on Today at 01:10:13 AM »
Might seem like a dumb question can't you just update the path that the PHP script points to?

Would be an easy fix and you wouldn't have to mess around with 301 redirects or man handling Virtual Host files
10
How to / Change Domain path to subfolder?
« Last post by DragoCom on December 05, 2025, 09:17:48 PM »
For some reason when you create an account in cwp it does NOT give you that accounts domain listed under, wait for it, "DOMAINS". I am clueless as to why it does not, cpanel and plesk do but anyway, I can NOT see domains under, wait for it, "DOMAINS" in the cwp user panel EITHER. Intentional or just clueless coder who did not include these features??? We will never know.

I need to change the path of the MAIN domain of an account from /home/username/public_html to /home/username/public_html/public for a php script I bought. You canly do this in the cwp user panel for "SUB DOMAINS"...DOH!!!

Anyway, does anyone have an idea on how you can do this? Thx in advance!!!
Pages: [1] 2 3 ... 10