host more than one insstance on apache

I have ubuntu 14.04 LTS server with an LAMP stack on. it is hosting Owncloud right now but i also want to host wordpress on it.

right now i can acces my owncloud service at and i would like to acces my wordpress at

i have installed wordpress to the /var/www foler as /var/www/wordpress but when i am trying to acces wordpress i am getting an 404 not found. and i dosnt matter if it is local ip or external ip

i have been following this guide for installing wordpress.i changed installation path to var/www/wordpress

but when i am trying to acces the it says 404 not found and :

Not Found

The requested URL /wordpress was not found on this server. Apache/2.4.7 (Ubuntu) Server at Port 80

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @notaduck:

The solution was to change the Documentroot and then restart Apache!

View the original comment

This comment has been deleted