• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

Publish HTML site in Ubuntu 12.4

Dear All,

 I have installed Ubuntu 12.4 server with Lamp, i want to publish a small html site, i hadr tried to access http://localserver and I'm getting the message that says that the web service is working fine, can someone advise which is the easies way to upload and publish my site.


Thanks
0
ITMaster1979
Asked:
ITMaster1979
1 Solution
 
Milind KoyandeCommented:
Hello,

You need to upload/copy your website data (html files) in the DocumentRoot of the webserver (/var/www/html in most of the cases). Also if you have properly created the files make sure the page you want see while browsing localserver should be names as index.html.

You can refer for more information:
https://help.ubuntu.com/11.10/serverguide/httpd.html
https://www.digitalocean.com/community/articles/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now