Vhost configuration for Adobe Media Server running under linux.
Please help me with Vhost configuration for Adobe Media Server running under linux.
I was running a media sharing website for which I wanted to use Adobe Media Server.
To use, AMS, I disabled the already installed Apache server and installed AMS along with the built in Apache server. I could successfully install AMS and could login to AMS Admin Console through my IP number.
My existing website, www.mydomain.com is having its contents located at:
/home/mydomain/public_html
(Directory created under the old version of Apache not bundled with AMS)
Users will be uploading their videos, which will get transcoded and will be delivered to the website visitors in the existing scenario.
To use this website with AMS, this is what I did:
- I created a folder for my domain, www.mydomain.com as below
/opt/adobe/ams/conf/_defaultRoot_/www.mydomain.com
- Copied Application.xml and Vhost.xml from /opt/adobe/ams/conf/_defaultRoot_/ and pasted them in /opt/adobe/ams/conf/_defaultRoot_/www.mydomain.com
- In the Application.xml file there are 2 entries:
- <Alias name="mydomain.com"></Alias>
- <AppsDir>${/home/mydomain/public_html}</AppsDir>
Please help me with further steps to be completed:
- Do I need to create a separate VirtualHost entry in the Apache installed with AMS?
- If yes, can I specify already existing document root for my website (/home/mydomain/public_html) or do I need to create a separate folder under webroot/Apache ?
- If yes to point 2 above, then do I need to copy all the existing contents from /home/mydomain/public_html to the newly created folder ?
- I hope, I can serve all my static contents like html pages and php and media like video/audio. In that case do I need create alias to my Media/Alias folder or AMS will automatically start streaming when a video/audio is requested ?
- What other steps do i need to complete?
Any help in this regard would be highly appreciated.
Thanks and Regards
