The Wayback Machine - https://web.archive.org/web/20240821165833/https://www.geeksforgeeks.org/how-to-share-files-on-local-network-using-apache-file-server/
Open In App

How to Share Files On Local Network Using Apache File Server?

Last Updated : 30 Mar, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Normally we share files between our computers and mobiles using Gmail, Whatsapp, Bluetooth, etc. But here we are going to discuss sharing files using Apache Server from your computer. Your system has to be connected to a LAN for Accessing the files from one computer to another connected on a LAN.

The local server is the same as our web server. As our Web Server serves our needs anywhere and anytime. But Local server operates when multiple clients are connected to the same LAN(Local Area Network). And if we connect a router and connect our mobiles to the Wi-Fi of that router then we can access the files which were shared by the Computer on that server.

Apache HTTP Server is a very powerful HTTP server. It is the replacement for NCSA Server. It is Free of cost and open Source.

Prerequisites:

  1. Computer
  2. Wi-Fi Router(For Mobile Users)
  3. Local Area Network Connection(Acts as Local Server)

Installing Apache Webserver:

  1. You need to download Apache24 from Google and install it on your device. Download the file which is available in 32 bit and 64bit.
  2. Unzip the downloaded files where you would like to install the same.
  3. Now, open the command prompt and navigate to the location where you have unzipped the folder.
  4. Now Use the below command to open the specific folder for starting the server.
cd Apache24/bin/httpd

Now After entering this command you will get a dialogue box for Allowing Access. You have to give access to all Public and Private Networks.

Now You can access the files on the network. Just by typing the host’s IP Address.

Here we have just placed an HTML File, so it is showing the text “It Works” in the browser. You can even place your HTML projects or Your Files in a Folder and Access them.

Example:

If you type in the below statement in the command prompt:

- 192.168.102.67/Geeks

You will get all the files stored in Geeks Folder which is Located in Apache24/htdocs folder.

Access from other machines:-

To access the files on another machine connected to the same network just type the host computer IP Address forwarded by the folder name.

192.168.102.67/Geeks.

So you can access the files.



Similar Reads

How to Share Your Computer Screen over Your Local Network or WIFI?
More often than not you need to show other people who aren't physically available near you, the contents of your screen. There are several ways to achieve this. In this article, we will be looking into one of the processes of sharing your computer screen over your local server or over the Wi-Fi. Local Server means all computers connected on the sam
2 min read
How to install and configure Apache Web Server on Godaddy Server?
GoDaddy VPS is a shared server that provides computational services, databases, storage space, automated weekly backups, 99% uptime, and much more. It’s a cheaper alternative to some other popular cloud-based services such as AWS, GPC, and Azure. Apache HTTP Server is an open-source web server software widely used by web hosting companies to provid
2 min read
How to Share Files on Google Drive
In today's fast-paced digital world, efficient file sharing is crucial for smooth collaboration and productivity. Whether you're working on a team project, sharing important documents with colleagues, or simply distributing files to friends and family, Google Drive offers a seamless and effective solution. With its user-friendly interface and robus
4 min read
DriveSync Local Files with Google Drive using Linux CLI
In this article, We will see how-to DriveSync local files with Google Drive from Linux CLI. Google Drive is widely used for cloud storage. It allows us to access, upload, or download the documents or files inside our drive from any location or device, provided proper authentication. DriveSync is a command-line interface(CLI) tool that synchronizes
3 min read
How to Setup Apache Web Server On Any Android Device?
In this article, we will learn how we can set up Apache Web Server On Any Android Device. For doing this we have to install the Termux app available on the play store. Termux is an Android terminal emulator and Linux environment application that works directly with no rooting or setup required. Termux provides a Linux-like shell to the user where h
2 min read
How to Set Up Apache Web Server in AWS EC2 Linux (Ubuntu) Instance?
In this article, we will look into the process of setting up Apache Web Server in AWS EC2 Linux Instance.This tutorial has been done on a system running Windows 10 Home (Version 20H2). Implementation: The steps taken to complete this tutorial are being stated below: Step 1: Go to portal.aws.amazon.com to create a new AWS account. Provide email addr
4 min read
How to install and configure Apache Tomcat 10 on Godaddy Server?
GoDaddy VPS is a shared server that provides computational services, databases, storage space, automated weekly backups, 99% uptime, and much more. It’s a cheaper alternative to some other popular cloud-based services such as AWS, GPC, and Azure. Apache Tomcat is a cross-platform HTTP web server that runs Java code in a “pure Java” environment. It
3 min read
AWS EC2 Instance Setup with Apache Server
Amazon Web Services (AWS): Amazon Web Services (AWS) is a secure cloud services platform, offering compute power, database storage, content delivery and other functionality to help businesses scale and grow. Explore how millions of customers are currently leveraging AWS cloud products and solutions to build sophisticated applications with increased
5 min read
How to Install Apache Web Server in Linux: Ubuntu, Fedora, RHEL?
Setting up the Apache Web Server on Linux operating systems such as Ubuntu, Fedora, and RHEL is a routine job for web developers and system managers. Apache stands out among web servers for its adaptability, robust security measures, and compatibility with different web technologies. This manual will guide you through the installation process of Ap
4 min read
Why are there two folders - Program Files and Program Files (x86) in 64-bit Windows OS?
Have you ever wondered why you have two different Program Files (Program Files and Program Files (x86)) on your 64-bit Windows Operating System? Well, you will get the answer to this question by going through this article. Earlier on, the Windows OS has 32-bit version only. If you are still using a 32-bit of Windows today, you will notice that you
3 min read
Backup & Restore Files using Windows File History
File History is an integrated backup system in Windows 10 and it replaced the earlier version of Windows Backup & Restore. One just needs a good size USB thumb drive or an external hard drive that is plugged in through the USB ports. Once it's plugged in, then the system will know that there's a hard drive. So let's look into the use of File Hi
5 min read
How to Download Files From SFTP Server in Java?
A network protocol called SSH, commonly referred to as Secure Shell or Secure Socket Shell, enables a secure connection between two computers across an insecure network. This tutorial will show you how to connect to a remote SFTP server using Java and the SSH client. Host key verification must be taken into consideration before the connection is ma
3 min read
How to Download Files From FTP Server in Java?
In this article, we will discuss how to download files from an FTP server in Java. After successfully connecting to the FTP server, the function below in the FtpConnector class will return an FTPClient object. FTPClient: All the functionality required to save and retrieve files from an FTP server is included in FTPClient. This class provides a comf
3 min read
How to Share Linux Terminal Using Teleconsole?
You already know about many popular remote desktop sharing applications. But this is very different because this is only shared with the terminal, not the full desktop. Here we see how to use teleconsole and how to share your terminal with your friend. Teleconsole is a tool that can allow you to share your Linux terminal with your friend, and they
2 min read
How to Share Live Location using Google Maps
Remember how you used to share your live location using third-party applications? But, to ease your difficulty, Google Maps' new feature allows users to share their live location along with indicating the battery status of the device. Google Maps has upgraded to its all-new feature of Live location sharing directly without using any third-party app
8 min read
How To Share Status Updates Using WhatsApp Web
The popular messaging software WhatsApp Web now has a feature on its website called Status Updates. In other apps, it's called Stories. Images and videos can be shared as updates using this. A green circle will appear around your photo whenever you share anything. Viewers can tap on it to view the status. The WhatsApp website currently has four sec
5 min read
How to Set Classpath When Class Files are in .jar file in Java?
Classpath is a parameter in JVM or the java compiler that specifies the location of the user-defined classes as well as the packages. While programming in Java, we many times use import statements. Illustration: import java.util.ArrayList; It makes the ArrayList class available in the package java.util to the current class. ArrayList<Integer>
3 min read
How to Exclude Files and Directories When Creating a tar.gz File
GNU tar is a type of archiving program that is designed to store multiple files into a single file and to manipulate such archives. The archive can be either a regular file or a device that can be located either locally or on a remote machine. How to Exclude Files and Directories When Creating a tar.gz File Step 1: First we need to create multiple
2 min read
Spring Boot | How to consume string messages using Apache Kafka
Apache Kafka is a publish-subscribe messaging queue used for real-time streams of data. A messaging queue lets you send messages between processes, applications, and servers. In this article we will see how to send string messages from apache kafka to the console of a spring boot application. Approach: Step 1: Go to spring initializr and create a s
3 min read
How to Share Specific Fields Of Google Form With Google Scripts?
Google Forms are one of the most used forms for conducting survey but sometimes the organizer of the survey want to share live results of the Google forms with the audience this can be done easily using Google scripts. As we all know that the data entered by the user in Google form is stored directly in a Google sheet. So we will use gs(Google scri
3 min read
How to create a link for any document to share it?
To put it another way, in order to create a connection to your document, you must first submit it to a cloud services portal such as Google Drive, Microsoft OneDrive, Dropbox, Mega, and others. Following that, you use these services to make a link that allows other users to view the file stored in the cloud service. The point and purpose of informi
3 min read
How To Share Instagram Profile Link On WhatsApp
Mastering the art of seamless social media integration has become a crucial part of using social media. Among the numerous platforms that have gained prominence, Instagram stands as a dynamic domain for sharing life's moments visually. However, with the growing influence of platforms like WhatsApp in fostering real-time communication, effectively b
7 min read
How to Share an AirTag or other item through Find My on iPhone
Apple AirTags are great devices for finding your lost keys, wallet, or anything else you attach them to. But what if you want to share an AirTag with someone else, such as a family member, a friend, or a co-worker? For example, maybe you and your spouse want to track the same car key, or you and your roommate want to locate the same remote control.
8 min read
How To Share a PPT In Google Docs
How To Share a PowerPoint in Google Docs - Quick StepsOpen Google DriveUpload PresentationOpen with Google SlidesClick Share ButtonEnter Email Address >> Click ShareGoogle Docs is known as an online word processor used to create and edit documents, files, drawings, and many other things. It is a part of Google Docs Office Suite which is offer
5 min read
How To Share Location On Google Maps
In our fast-paced world, sharing your location has become valuable for staying connected with friends, family, and colleagues. Google Maps provides a user-friendly platform for sharing your whereabouts, ensuring that you can easily meet up, coordinate events, or let someone know you're on your way. In this guide, we'll walk you through the simple s
4 min read
How To Share Google Map Location On WhatsApp
Everyone is moving towards digitalization and sharing locations has become an essential aspect of communication. Whether you're planning a meet-up, guiding someone to a specific place, or simply keeping friends and family informed about your whereabouts, sharing your location has never been easier. This article will guide you through the simple ste
5 min read
How to share your Wi-Fi Password on Android and iOS?
Nowadays, Wi-Fi is super important for staying connected to the internet. But sometimes, sharing your Wi-Fi password with friends or family can be tricky, especially if you're using an Android or iPhone.Don't worry! We're here to help make it easy for you. Both Android and iPhones have simple ways to share your Wi-Fi password without any fuss. So,
5 min read
How to Share Your Screen on Google Meet (Easy Guide)
Ever found yourself in a virtual meeting wishing you could share your screen to illustrate your point, but unsure how to do it? In this article will help you to know how to present you screen in Google Meet Quickly. From presentations to brainstorming sessions, get ready to captivate your audience and take your virtual meetings to the next level. P
5 min read
How to Install a Local Module Using npm?
This article shows how to install a local module using npm. Local modules are modules created locally in your Node JS application to create user-required functionality. These local modules include different functionalities of your application in separate files and folders. To link the local module first you must have the local module directory or p
3 min read
How to convert CSV File to PDF File using Python?
In this article, we will learn how to do Conversion of CSV to PDF file format. This simple task can be easily done using two Steps : Firstly, We convert our CSV file to HTML using the PandasIn the Second Step, we use PDFkit Python API to convert our HTML file to the PDF file format. Approach: 1. Converting CSV file to HTML using Pandas Framework. P
3 min read
Article Tags :
three90RightbarBannerImg