Pages

Sunday 8 September 2024

DNS SERVER & WEB SERVER using CPT

Assign one PC one SWITCH two SERVERS in which one acts as WEBSERVER and other acts as DNS SERVER as shown below with the following IPs


WEBSERVER IP


WEB SERVER HTTP CODE

Program 1:

<html>

<center><font size='+2' color='blue'>Cisco Packet Tracer</font></center>

<h1>Welcome to My Web Page </h1>

<h2>Welcome to My Web Page </h2>

<h3>Welcome to My Web Page </h3>

</html>


Program 2:

<!doctype html>
<html>
<head>
<title> FLAG </title>
</head>
<body bgcolor="white">
<center>
<body >
<hr color="orange" size="80">
<font face="algerian" color="blue" size="8">
<marquee scrolldelay="10" direction="left" behaviour="alternate" >Cisco Packet Trace </marquee>
</font>
<hr color="green" size="80">
</body>
</center>
</html>



DNS SERVER IP


Add the domain name i.e www.mywebsite.com and Default Gateway :192.168.1.1 to the created webpage 

Assign the PC with the following IPs


Now click on PC -> web browser and type www.mywebsite.com and then click on the button go we can visualize the flow of packet from both the servers using Cisco Packet Racer

No comments:

Post a Comment

OSPF Using CPT

OSPF (Open Shortest Path First)  is a common networking protocol used for routing within an autonomous system and is widely used due to its ...