Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Mounting Drive For Subdomain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
bankzy
Posts: 6
Joined: Tue Apr 21, 2020 12:04 pm

Os: CentOS 6x
Web: nginx + php-fpm
Mounting Drive For Subdomain
  • Quote

Post by bankzy » Thu May 07, 2020 7:24 pm

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.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
  • Quote

Post by grayfolk » Thu May 07, 2020 7:27 pm

bankzy wrote: ↑
Thu May 07, 2020 7:24 pm
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.
Just create domain and mount volume to its public_html.
Also you can mount volume anywhere and create symlink.
Top

bankzy
Posts: 6
Joined: Tue Apr 21, 2020 12:04 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
  • Quote

Post by bankzy » Thu May 07, 2020 7:30 pm

grayfolk wrote: ↑
Thu May 07, 2020 7:27 pm
Just create domain and mount volume to its public_html.
Also you can mount volume anywhere and create symlink.
Do you have any guides/commands i would need to perform to do this? I've tried googling but it's very confusing and not very to the point.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
  • Quote

Post by grayfolk » Thu May 07, 2020 7:41 pm

bankzy wrote: ↑
Thu May 07, 2020 7:30 pm
grayfolk wrote: ↑
Thu May 07, 2020 7:27 pm
Just create domain and mount volume to its public_html.
Also you can mount volume anywhere and create symlink.
Do you have any guides/commands i would need to perform to do this? I've tried googling but it's very confusing and not very to the point.
Google.
And

Code: Select all

man mount
Top

bankzy
Posts: 6
Joined: Tue Apr 21, 2020 12:04 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: Mounting Drive For Subdomain
  • Quote

Post by bankzy » Fri May 08, 2020 4:01 am

grayfolk wrote: ↑
Thu May 07, 2020 7:41 pm
bankzy wrote: ↑
Thu May 07, 2020 7:30 pm
grayfolk wrote: ↑
Thu May 07, 2020 7:27 pm
Just create domain and mount volume to its public_html.
Also you can mount volume anywhere and create symlink.
Do you have any guides/commands i would need to perform to do this? I've tried googling but it's very confusing and not very to the point.
Google.
And

Code: Select all

man mount
Oki I will dig deeper
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password