Reputation: 8767
How do I host my Web Application files in ubuntu locally?
I m used to working on Windows and in there we put all the files in the wwwroot folder and then configure the IIS and the run the app on localhost:8080
I wish to do the same in Ubuntu 12.04 (if the version makes any difference do let me know).
Upvotes: 1
Views: 3385
Reputation: 8767
I was able to find the answer myself. We need to install the apache2 in Ubuntu to get the localhost started.
This link helps out.
Upvotes: 1
Reputation: 12443
In Ubuntu that location is /var/www. There should already be an index.html file in that location. This will work as is if you have not installed other web based apps like tomcat or jboss as those installations may have modified the config for the web server.
If you're going to be developing web based applications and want it set up locally for dev and debug there is a better way using Eclipse and MySQL or your DB choice, but your post does not indicate what you really want to do.
Upvotes: 1