Website on secondary hard drive Topic is solved
-
- Posts: 38
- Joined: Tue Aug 16, 2016 4:58 pm
Website on secondary hard drive
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.
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.
-
- Support team
- Posts: 1111
- Joined: Tue Jul 30, 2013 10:18 pm
- Contact:
- Os: CentOS 6x
- Web: nginx + php-fpm
Re: Website on secondary hard drive
You can use symlink or mount second drive to any endpoint as you want likeVegas10128 wrote: ↑Wed Aug 19, 2020 6:50 amHello 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.
/home
/home/admin
/home/admin/web
/home/admin/web/example .com
/home/admin/web/example .com/public_html