Control Web Panel
WebPanel => Installation => Topic started by: tdd on July 12, 2018, 05:44:42 PM
-
Hi,
My primary drive is near full and in CWP I want to add more domains however those domains need to be hosted in second hard dosk mounted as /home2
How to make CWP host new domains on /home2 ?
Thanks
-
I'm wondering too
-
try to do a symlink or mount it as /home as this is the best option.
Not sure about symlink if this will be working but you can try.
-
https://www.inmotionhosting.com/support/website/ssh/using-a-secondary-hard-drive-on-a-dedicated-server in this article whm panel has an option to select home directory. Is there an option in CWP panel or do you consider to add this feature
-
>>try to do a symlink or mount it as /home as this is the best option.
can't as /home is in use and its already full.
Any other official solution from CWP ?
Thanks
-
Hi:
Is there any solution:
CWP instance /home disk is full
I added new disk and mounted as /home2
now I need to create new CWP accounts. Is there possibility to setup /home2 for new CWP account creation ?
looking forward
-
create a new user and move folder to /home2/username and create symlink from /home/username to /home2/username
-
Default CWP Free cant built /home2 to make new account.
You can add New Disk to /home for secondary data or data sub domain.
How to Add New Disk for Sub Domain -> click https://artikeldamas.wordpress.com/2020/12/13/menambah-disk-di-cwp-server-centos-7/ (https://artikeldamas.wordpress.com/2020/12/13/menambah-disk-di-cwp-server-centos-7/)
or Get try it:
1. built Sub Domain into your Panel Domain (etc: file.yourdomain.com);
2. Mount disk
sudo mount /dev/sda* /home/useraccount/file.yourdomain.com
3. Make New Disk can Boot in your server CentOS
- Input this script into /etc/fstab
- Input at last
/dev/sda* /home/useraccount/file.yourdomain.com ext4 defaults 0 0
4. and Reboot
5. cek your mount
df
or lsblk
6. Give permission access user account
chmod u=rwx,g=rx,o=r /home/useraccount/file.yourdomain.com
7. Go to CWP Admin, menu User Account -> Fix Permissions -> cheklist "Fix Permissions" and then click "Fix Selected Issues"
8. You can access via FTP and check your file uploaded in URL file (cannot URL folder)
try: https://file.domainanda.com/mp3/surah-alfatihah.mp3
Good Job, me Damas T