Page 1 of 1

Website on secondary hard drive

Posted: Wed Aug 19, 2020 6:50 am
by Vegas10128
Hello everyone!

This topic might sound insane, but i will try to explain as best as i can and as simple as i can for what i am trying to achieve.

I have 1 domain added to vestacp. "example .com"

Vesta's current install location is on the primary hard drive using Ubuntu 16.04.
The default location where the website contents would be (/home/admin/web/example .com/public_html/)
I would like store the website files and contents on a secondary hard drive in a different directory.
(/second_hardrive/example-folder/)

How could i achieve this?

The goal is to run that website on a different hard drive.

Re: Website on secondary hard drive

Posted: Wed Aug 19, 2020 7:07 am
by grayfolk
Vegas10128 wrote:
Wed Aug 19, 2020 6:50 am
Hello everyone!

This topic might sound insane, but i will try to explain as best as i can and as simple as i can for what i am trying to achieve.

I have 1 domain added to vestacp. "example .com"

Vesta's current install location is on the primary hard drive using Ubuntu 16.04.
The default location where the website contents would be (/home/admin/web/example .com/public_html/)
I would like store the website files and contents on a secondary hard drive in a different directory.
(/second_hardrive/example-folder/)

How could i achieve this?

The goal is to run that website on a different hard drive.
You can use symlink or mount second drive to any endpoint as you want like
/home
/home/admin
/home/admin/web
/home/admin/web/example .com
/home/admin/web/example .com/public_html