LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2008, 03:09 AM   #1
wangmadeli
LQ Newbie
 
Registered: Jun 2008
Location: Singapore
Distribution: Fedora 9
Posts: 6

Rep: Reputation: 0
How to publish a webpage in local server?


Good morning teachers,

I am currently doing a student project which involves designing a webpage and using embed players like vlc in it. I am required to use a STB and display the content on TV. I need to publish my webpage 1st b4 i can display it on TV. I have read other similar post but i am having difficulties understanding them. I just want the STB to be able to browse to my webpage thats all for now. Any help will be appreciated!

Thank you. Sorry 4 bad english.
 
Old 07-17-2008, 03:41 AM   #2
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 166

Rep: Reputation: 24
xampp provides a local web server testing environment. Is this what you are looking for?
 
Old 07-17-2008, 06:09 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
FC9 comes with apache, so there's no need for xampp in my opinion (but that is personal). miles brennan's linux home server howto is a guide to setup a home server (currently for FC5 but I suppose that it can be used for FC9 as well).

Once apache is running, you can browse http://localhost and you will probably some message lik 'it works'.

Once your STB has an IP address and is connected to your network you should see the same page (if the STB looks in the same web directory).
 
Old 07-17-2008, 07:04 AM   #4
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 70
Make sure httpd is running. Go to terminal, login as root, then put
service httpd restart(just in case it's running).

Then put your web page index, html files, pics, whatever in your /var/www/html/ directory and voila. Then open up a browser and put in your local ip address and voila.

Last edited by trist007; 07-17-2008 at 10:39 AM.
 
Old 07-18-2008, 07:33 AM   #5
FranDango
Member
 
Registered: Jun 2008
Posts: 101

Rep: Reputation: 15
Test for running server: http://localhost or http://127.0.0.1
Save your webpage in /var/www/html under the name my.html
Test for your webpage: http://localhost/my.html or http://127.0.0.1/my.html
Use 'Bluefish' to design a basic webpage ('yum install bluefish' if not installed already)
Embedding any sort of players is rather a fact of installing modules for your web browser.

Linux Archive

Last edited by FranDango; 09-20-2008 at 05:27 AM.
 
Old 08-13-2008, 02:16 AM   #6
wangmadeli
LQ Newbie
 
Registered: Jun 2008
Location: Singapore
Distribution: Fedora 9
Posts: 6

Original Poster
Rep: Reputation: 0
Talking

Thanks for all these replies. Sorry that i am 2 months late in trying this. (Had other things to do)

I tried putting my file in /var/www/html and i am able to see my own webpage. However, the STB i am using is unable to see my webpage. I tried using another PC in the same LAN to access http://my_ip_address , but also cant see the webpage.

Just to give more details, the PC i used to access my webpage is Windows. So does it matter?? Thanks again for the advices. Is there a way to troubleshoot this?

Many Thank you *BOW*
 
Old 08-13-2008, 10:27 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Firewall settings on your webserver?
 
Old 08-13-2008, 08:25 PM   #8
wangmadeli
LQ Newbie
 
Registered: Jun 2008
Location: Singapore
Distribution: Fedora 9
Posts: 6

Original Poster
Rep: Reputation: 0
Hi thanks alot for bringing this up. I totally forgot about firewall. I enabled the http settings and it works fine now. Once again thank you for all the help. My project can finally be shown.

Thank YOU BIG BIG!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Server Help/How to publish webpage? fhleung Linux - Networking 7 09-19-2014 08:42 PM
proggie for local (personal) wiki, w/ ability to publish on web later stairwayoflight Linux - Server 2 11-10-2006 03:26 PM
Problem seeing webpage on local network Witton Linux - Networking 1 12-24-2005 08:38 AM
Unable to run webpage on local server using ip in the url MakingOfAGeek Linux - Newbie 16 11-15-2003 07:09 AM
Local Host Webpage littlebradley Linux - Software 4 05-09-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration