Mounting Drive For Subdomain
Mounting Drive For Subdomain
Hi,
Need some help, I have 2 drives on my dedicated server. 240 SSD drive (that I'm using to host static content) and a 2TB SATA drive that i want to use for media files. I basically want to make a subdomain in my vesta panel, example; media.domain.com and have everything stored on my 2TB SATA drive for this subdomain.
I have heard I need to mount the drive but I'm a little lost as to what I actually need to do to achieve this.
Help is massively appreciated! I'm using Centos 7.8 with nginx.
Need some help, I have 2 drives on my dedicated server. 240 SSD drive (that I'm using to host static content) and a 2TB SATA drive that i want to use for media files. I basically want to make a subdomain in my vesta panel, example; media.domain.com and have everything stored on my 2TB SATA drive for this subdomain.
I have heard I need to mount the drive but I'm a little lost as to what I actually need to do to achieve this.
Help is massively appreciated! I'm using Centos 7.8 with nginx.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
Just create domain and mount volume to its public_html.bankzy wrote: ↑Thu May 07, 2020 7:24 pmHi,
Need some help, I have 2 drives on my dedicated server. 240 SSD drive (that I'm using to host static content) and a 2TB SATA drive that i want to use for media files. I basically want to make a subdomain in my vesta panel, example; media.domain.com and have everything stored on my 2TB SATA drive for this subdomain.
I have heard I need to mount the drive but I'm a little lost as to what I actually need to do to achieve this.
Help is massively appreciated! I'm using Centos 7.8 with nginx.
Also you can mount volume anywhere and create symlink.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
Google.
And
Code: Select all
man mount
Re: Mounting Drive For Subdomain
Oki I will dig deepergrayfolk wrote: ↑Thu May 07, 2020 7:41 pmGoogle.
AndCode: Select all
man mount