Change Apache Root Drive to External Drive

I'm trying to develop a local website with a large storage of PDF and JPG files and it is too large to fit on my local hard drive.  I would like to host it on my 3 TB external drive connected via thunderbolt.  Can you tell me the correct change to my httpd.conf file so point to the external drive rather than "/Library/Webserver/Documents"

My external drive's name is "Website" and the folder containing all files is "Library/WebServer/Documents"

I'm on a Mac Pro using Yosemite
Bill SullivanCEOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Evan CutlerVolunteer Chief Information OfficerCommented:
what I would do is subdomain the "library".  If the drive fails, or gets disconnected, the website will still fire.

first things first, mount the drive.
enter -> mount to see if the terminal can recognize the drive.

Then add a virtualhost in httpd.conf

<VirtualHost *:80>
      ServerName library.mydomain.com
      DocumentRoot /dev/mnt/whatever <- mount point
</VirtualHost>

Then reboot httpd service and try that.
This way if your library fails, the local installation of the website still fires.

Good luck.
Bill SullivanCEOAuthor Commented:
Sorry, I'm a newbie.  I tried typing "-> mount" (without the quotes) in terminal but received "-bash: -: command not found"  What did I do wrong?
Bill SullivanCEOAuthor Commented:
I wrote "mount" without the -> and received back a line that says "/dev/disk2s2 on /Volumes/Website (hfs, local, nodded, nosuid, journaled)"  Does this mean it is mounted?
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Evan CutlerVolunteer Chief Information OfficerCommented:
The test will be to load a file graphically (meaning through the normal finder), then go to /dev/disk2s2 and see if the file is there.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bill SullivanCEOAuthor Commented:
That worked!  Thanks so much.
Evan CutlerVolunteer Chief Information OfficerCommented:
No problem. Anytime
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.