Please help me to host multiple websites by mounting the disk partition in Linode
I'm running websites each with different PHP version and php.ini setting by reseller plan of other hosting provider, and I want to migrate 2~3 of them to Linode VPS.
I've signed up and bought $10/month VPS plan of Linode, and almost finished basic construction of guide "Getting Started…" and "Secured …" with Debian 8.
I've read the answer of you from this article on StackOverflow:
Which is the most appropriate way to host multiple websites in linode?
There is one of the answers in the discussion:
You could set a quota by creating a virtual slice of your disk space and mounting that as your individual web directories. This has a couple benefits, including limiting space, and keeping it separate from the OS in case the OS becomes corrupted and needs to be re-imaged. This happened to me a few weeks ago, and because I had the /www directory on a separate partition, I re-imaged and got the sites back up on my Linode in under an hour. – CDub Dec 6 '12 at 17:21
I'm interested in using the same solution to plan & manage mutiple websites and different 2 PHP version (PHP 5/php 7) for different websites for the compatibility reason.
Could some one know how to do these work and could share the detail? I only know how to have both PHP 5 & PHP 7 exist, but don't know about mounting the disk partition
Thanks,
Green