Solved

Publish HTML site in Ubuntu 12.4

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 40
How to find Linux Server's last patch date 9 45
Coding C# in Linux 8 63
ignore other .htaccess 2 45
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
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 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.:

776 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