Setting Up Linux Web Server | Affordable Web Hosting Plans | Cheap Domain Name Registration

How to Set Up Linux Apache Server

Page 9: Network Configuration

Now you should have some basic knowledge of networking. It's time to set up your own Web Server. We will take your home LAN as an example again:

LAN networking

Important concept:

  • If all your computer are for working only (e.g. browse Internet, email, etc..), you do not need to assign a static IP address for any computer. You simple enable the DHCP Server of your router. Whenever your computer is turn on, it will ask the router to assign a IP address (dynamic).
  • Since, a computer is used for Web Server, the computer (Web Server) must be assigned a static IP address. Otherwise, the router do not know where to forward the request.

Now, we configure the two workstations first.

Setting the Router:

DHCP

  1. Enable the DHCP Server (Router itself) so that the two workstations can get a IP address dynamically every time they turn on.
  2. Set the Dynamic Address start from 192.168.1.100. Why start from 100? Because, it leave room for the expansion of Static Address computers.

Setting the Dynamic IP Addresses:

I assume that they two workstations are running Windows os.

setting dynamic IP address

Since this tutorial is to set up a Webserver, I assume that you know how to setting the Dynamic IP Addresses for the two computer.

Now, it's time to working on the computer that installed the Apache Web Server. There's are a lot of setting to do before the Webserver can be working.

set up linux web server