Solved

Publish HTML site in Ubuntu 12.4

Posted on 2013-01-23
1
537 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CentOS 7 Linux for HP DL380 G4 32Bits 7 79
I NEED A "BARE" LINUX ... 9 92
CLI command keep running after close 7 56
Install XRDP on Ubuntu Server 16.10 x64 3 63
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

730 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