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

Website on secondary hard drive Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Vegas10128
Posts: 38
Joined: Tue Aug 16, 2016 4:58 pm

Website on secondary hard drive
  • Quote

Post by Vegas10128 » 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.
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: Website on secondary hard drive
  • Quote

Post by grayfolk » Wed Aug 19, 2020 7:07 am

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
Top


Post Reply
  • Print view

2 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