Solved

Publish HTML site in Ubuntu 12.4

Posted on 2013-01-23
1
533 Views
Last Modified: 2013-01-28
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
Comment
Question by:ITMaster1979
1 Comment
 
LVL 7

Accepted Solution

by:
Milind Koyande earned 500 total points
ID: 38813975
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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now