LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-10-2009, 08:44 AM   #1
farid_lmu
LQ Newbie
 
Registered: Jan 2009
Posts: 18

Rep: Reputation: 0
Post Sharing specific folder or file in apache server


hello,

can anyone plz help me how I can share my apache webpage folder/file
in the network that all the user in network can see my webpage ?

Problem :

I installed the apache web server and configured it after. In configuration I put my webpage(index.html) in specific folder(var/www/html/localhost.domain/index.html). when I use http://localhost/ than my webpage is running. But when I use same URL
from other computer of the same network this webpage is not running.
That means may/might be I have to share this webpage folder ---------- or ------------------ ! ! !


A solution will be helpful and highly appreciated.

Tahnk you indeed.
 
Old 02-10-2009, 09:00 AM   #2
anonymouser
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
A computer normally has 2 IP address: One is 127.0.0.1 - called loopback interface, another is an IP to join in LAN (192.168.1.xxx or something like that). The hostname "localhost" is translated to 127.0.0.1 by default. When you stay at web server and type localhost, the computer will access to the web server installed inside itself. But assume that you stay at another computer and type localhost, means "127.0.0.1", which refers to THAT computer. Because THAT computer has no web server, your query will fail in certain.

The fastest and simplest way for you is access your web browser with a LAN IP. The better way is setting up a DNS server in your network, which is more complicated. I recommend you try the first solution, learn some more about basic networking, and try the second one.

Have fun .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
find a folder not containing a specific file itzfritz Linux - Server 2 09-10-2008 12:23 PM
Linux Server and Linux Clients Networking. File sharing services. Remote home folder admitrievsky Linux - Server 5 01-28-2008 02:23 PM
howto folder/file sharing with specific groups kmhui Linux - Newbie 5 09-18-2004 08:05 PM
Win2k - Mandrake9.1 -file(folder) sharing? al3s Linux - Networking 3 04-19-2004 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:53 AM.

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