Giant
Giant

Reputation: 1649

deploying web app in ubuntu

I have a project in VM ubuntu and I want to run it on localhost but I get

enter image description here

I have stored the project in var/www/html because when I check in terminal this one shows

enter image description here

How to properly deploy in ubuntu localhost?

Upvotes: 0

Views: 927

Answers (1)

wilsonhobbs
wilsonhobbs

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

Related Questions