Solved

Publish HTML site in Ubuntu 12.4

Posted on 2013-01-23
1
527 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

746 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

12 Experts available now in Live!

Get 1:1 Help Now