I can start an instance of virtualbox from the command line with no output, but I cannot connect through Chrome or IE to the web interface http://server/phpvirtualbox - I simply get 404 not found error.
I can get to http://server and see the default ubuntu apache page.
My goal is to access VMs on this server through a web browser.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Struggled with this issue for a couple of hours till I figured out that I had the phpvirtualbox directory in the wrong location. All the install directions I have read for this put the directory at /var/www/phpvirtualbox, except for this one (https://www.liberiangeek.net/2014/09/install-virtualbox-headless-ubuntu-14-04-server-manage-phpvirtualbox/). Here's the quote that caught my eye:
"Next, run the commands below to unzip the downloaded package
Hey guys, lets get down to it. New to Linux, but I know my way around for the most part.
Running - Ubuntu Server 14.04 on separate headless server
What I have installed - Webmin (works), Samba, virtualbox, phpvirtualbox, ssh, apache2
I administer the box through ssh from windows machine with putty, and am trying to install VMs to use as test servers to increase OS familiarity.
I have followed the instructions listed below and from other sources, but this one is this most complete/simple:
http://www.serveradventures.com/the-adventures/virtual-machines-in-ubuntu-server-virtualbox-phpvirtualbox
I can start an instance of virtualbox from the command line with no output, but I cannot connect through Chrome or IE to the web interface http://server/phpvirtualbox - I simply get 404 not found error.
I can get to http://server and see the default ubuntu apache page.
My goal is to access VMs on this server through a web browser.
I had the same issue and was told to change the listening port from port 80 to port 85 and it worked immediately. See: http://www.bleepingcomputer.com/forums/t/547639/virtual-box-issues/
Struggled with this issue for a couple of hours till I figured out that I had the phpvirtualbox directory in the wrong location. All the install directions I have read for this put the directory at /var/www/phpvirtualbox, except for this one (https://www.liberiangeek.net/2014/09/install-virtualbox-headless-ubuntu-14-04-server-manage-phpvirtualbox/). Here's the quote that caught my eye:
"Next, run the commands below to unzip the downloaded package
unzip phpvirtualbox*.zip
Next, create a root directory for phpVirtualBox.
sudo mv phpvirtualbox-4.3-1 /var/www/html/phpvirtualbox"
I promptly moved my directory into the html subfolder and everything started working right away. Hope this helps someone.
--Akshun J
Thanks akshunj for your feed back to the problem just discovered i had made the same error. now all is working