Configure DHCP, DNS and HTTP With Switch
Configure DHCP, DNS and HTTP With Switch
In this lab, we use switches, DHCP server, DNS server, HTTP server and PC. Here
I will tell you about some basic concept of these components in detail.
3. DNS server: – DNS (domain name server) is a server which is used to assign
names to an IP address. It allows you to connect to any website or network by simple
names instead of their IP address. It is really very hard to memorization of IP
1 | P a g e
addresses of any website and network so here DNS help us by converting the number
into a name. Now we just type only name instead of IP of any website and network
to search it on the internet.
Step 1: – First of all we go to the DHCP server and click on it to open it. Then a
screen will be open in it, we will click on the desktop option and then click on IP
configuration to provide IP address statically to the DHCP server and also give the
IP address of the DNS server in the column of DNS server. The figure is shown
below
2 | P a g e
Step 2: – After that now choose the service option in it to make that server as a
DHCP server and it is able to provide an IP address automatically to the other
systems. In it, we fill all entries on this server and choose ON option in it as given
below to turn on DHCP server.
3 | P a g e
Now your DHCP server is configured successfully. The work on DHCP server will
be done completely. Now this machine is able to provide IP addresses to other
systems which are connected to that network.
Step 3: – Now we configure DNS server by clicking on it. After clicking on the DNS
server we click on the desktop option and then click on IP configuration option to
provide IP address to the DNS server. In IP configuration option we change it from
static to DHCP. Now it has taken IP address automatically from the DHCP server.
The figure is given below
4 | P a g e
Step 4: – Now before making this machine a DNS server, we go to HTTP server and
provide IP address to it by using DHCP server similarly as DNS server and then after
that click on services option to make this machine as an HTTP server. In services,
we choose HTTP from the left sidebar and now there create a page or edit a page
which you want to see in your web browser.
Step 4: – After that, we again, click on DNS server and then select DNS option from
the right sidebar in it and click on it to configure this machine as a DNS server. In
it, we give the name and IP address of the HTTP server and then click on add option
in it to provide a name to IP address of the HTTP server which helps us to open that
web page by name instead of IP address of the HTTP server and generally name will
be easy to memorize by us. After that, we choose ON option to start DNS
server. The figure is shown below
5 | P a g e
Now all servers are configured by us and Now we move on PCs to provide IP
address to them by using a DHCP server. All set now.
After that, we will go to any PC on that network and then go to the web browser and
we type the name of our page google.com in it which is given in the DNS server by
us to open it in our system browser. The figure is shown below
6 | P a g e
And now outcome will appear in the form of our page which is made by us in HTTP
server. It indicates that all servers are working properly because the messages go to
DNS server where it directs it to the HTTP server and the webpage google.com loads
from HTTP server to our computer screen.
7 | P a g e