Reputation: 1649
I have a project in VM ubuntu and I want to run it on localhost but I get
I have stored the project in var/www/html
because when I check in terminal this one shows
How to properly deploy in ubuntu localhost?
Upvotes: 0
Views: 927
Reputation: 951
You have your content in the ~/var/www/html
. However, you need your code to be in the root directory, in /var/www
. Just run sudo cp -r ~/var/www/html /var/www/html
in your terminal.
Upvotes: 1