Hi, I would like to know if this is possible.
Let's say you have 2 hard drives on one server.
on drive 1 you have dir 1
on drive 2 you have dir 2
then there's a third drive that's hosted on another server in another location.
we will call this nas drive 1 but dir 3.
Let's say my website I want to put folder mydomain.com as a folder.
Let's say I store this on dir 1 on drive 1. do on drive 1 dir1 it would be like drive1:/websites/mydomain
let's say on drive 2 I have the same thing drive2:/websites/mydomain
then on nas drive 1 we have https:/some_ip_address:400/websites/mydomain
it uses the internet to connect to a nas drive I gave random port number.
My point on my website how can I tie them into one?
I want it to be like mydomain.com/ to be tied to all 3.
for instance :
lets say I stored :
template.txt
folder db, mail, userconfig, userpanel.
on hard drive 1.
content_login.txt
folder db, mail, userconfig, userpanel.
on drive 2.
then :
main.html
folder db, mail, userconfig, userpanel.
on nas drive 1 dir 3.
if you look each one has different files.
I want to be able to do this:
mydomain.com/main.html
mydomain.com/content_login.txt
mydomain.com/main.html/template.txt
So, I want to combine all 3 drives to be as one.
so folders db, mail, userconfig, userpanel should be combined with all 3 locations.
That way when I do https://mydomain.com/db
https://mydomain.com/userconfig
https://mydomain.com/userpanel
they should show all files from all 3 locations.
I want to be able to do this on the fly. So, If I need more storage
I can buy some and create these folders and the website should automatically
or I can easily just add in the new location of a 4th drive and continue it.
How would one do this? I know in apache2.4 there's alias locations.
I know about hard links and raids.
How could you combine all 3 locations and folders to act as if it's one folder?
that way if I do https://mydomain.com/db/../ this would reference all folders with db on all drives.
Thank You for your time.
Let's say you have 2 hard drives on one server.
on drive 1 you have dir 1
on drive 2 you have dir 2
then there's a third drive that's hosted on another server in another location.
we will call this nas drive 1 but dir 3.
Let's say my website I want to put folder mydomain.com as a folder.
Let's say I store this on dir 1 on drive 1. do on drive 1 dir1 it would be like drive1:/websites/mydomain
let's say on drive 2 I have the same thing drive2:/websites/mydomain
then on nas drive 1 we have https:/some_ip_address:400/websites/mydomain
it uses the internet to connect to a nas drive I gave random port number.
My point on my website how can I tie them into one?
I want it to be like mydomain.com/ to be tied to all 3.
for instance :
lets say I stored :
template.txt
folder db, mail, userconfig, userpanel.
on hard drive 1.
content_login.txt
folder db, mail, userconfig, userpanel.
on drive 2.
then :
main.html
folder db, mail, userconfig, userpanel.
on nas drive 1 dir 3.
if you look each one has different files.
I want to be able to do this:
mydomain.com/main.html
mydomain.com/content_login.txt
mydomain.com/main.html/template.txt
So, I want to combine all 3 drives to be as one.
so folders db, mail, userconfig, userpanel should be combined with all 3 locations.
That way when I do https://mydomain.com/db
https://mydomain.com/userconfig
https://mydomain.com/userpanel
they should show all files from all 3 locations.
I want to be able to do this on the fly. So, If I need more storage
I can buy some and create these folders and the website should automatically
or I can easily just add in the new location of a 4th drive and continue it.
How would one do this? I know in apache2.4 there's alias locations.
I know about hard links and raids.
How could you combine all 3 locations and folders to act as if it's one folder?
that way if I do https://mydomain.com/db/../ this would reference all folders with db on all drives.
Thank You for your time.