yulia_zoNe

Biarkan hamparan keindahan terpancar dalam hatimu lewat nada innerbeauty yang selalu kamu pancarkan................

Objective
       Edit the local HOSTS file on a Windows PC to map a name to an IP address for easier identification.
Background / Preparation
You are employed at an ISP. You have been sent to a customer location to troubleshoot an issue with one of the customer’s servers. There is a user on the network who constantly needs to access the server to administer a development website that the company is working on. Currently, the customer does not have any local servers that perform the function of associating a name to the server’s IP address. However, the website that the customer is working on requires the use of a name in the URL to access the site properly. Since this is the only workstation that needs to access the server based on a name, you decide to use the local HOSTS file on the Windows workstation to resolve the issue with name resolution. Your plan is to edit the local HOSTS file and add a name mapping for the web server. You will test the functionality of the name resolution using the ping command from the command prompt.
The following resources are required:
·         PC running Windows XP
·         Administrator privileges on the PC

Step 1: Locate The Hosts File In Windows
a.    Click the Start button and choose All Programs > Accessories, and then click the Notepad program.
b.    In Notepad, choose  File > Open. Change the Files of Type to All Files to be able to see files other than text files. Navigate to C:\WINDOWS\SYSTEM32\DRIVERS\ETC.
c.    Select the HOSTS file and click Open.

Step 2: Edit The Hosts File
a.    At the bottom of the HOSTS file, there is a list of hosts that have already been recorded. Add a new entry for the web server. Enter 10.10.11.1, press the Tab key, and then enter webserver1. Press the Tab key again, and add a comment preceded by a # sign. The # sign is used to signify a comment. 
b.    Save the updated HOSTS file.

Step 3: Test The New Name Mapping
a.    open the command prompt, click the Start button and then click Run. In the Run dialog box, type CMD and then click OK. Alternately, you can choose Start > All Programs > Accessories > Command Prompt to open a command window
b.    In the command prompt window, type ping webserver1 and press the Enter key.
The name webserver1 was resolved to 10.10.11.1 just before the subsequent echo requests were sent out. This indicates that the HOSTS file was modified correctly and is functioning correctly in the name resolution process on this workstation. Since this is a simulation and there is no real webserver1, the destination host is unreachable. If there were a webserver1 that could be reached from this host, it would most likely have replied to the ping.

Step 4: Reflection
a.    Which other files are located in the \ETC folder with the HOSTS file?
·         Pemetaan IP
·         Host name
·         Pemetaan web server
b.    Which character is used to comment out description text in the HOSTS file?
Jawaban : Menggunakan tanda ‘#’ untuk membuat komentar deskripsi

0 komentar:

Posting Komentar

>

About this blog

smile......
n
welcome......

my picture

my picture

You can replace this text by going to "Layout" and then "Page Elements" section. Edit " About "

widget

Powered By Blogger
Diberdayakan oleh Blogger.

Popular Posts

Followers

About Me

Archives

Gudang