ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 535 - 220-1101 discussion

Report
Export

A user with a custom hosts file is having difficulty connecting to a locally hosted site on a small office network. The technician cannot ping the server hostname from the user's computer. Which of the following should the technician ensure on the server?

A.
The server is configured with a static IP address.
Answers
A.
The server is configured with a static IP address.
B.
The server does not have an APIPA.
Answers
B.
The server does not have an APIPA.
C.
The appropriate services are enabled on the server.
Answers
C.
The appropriate services are enabled on the server.
D.
The server's secondary NIC is functioning.
Answers
D.
The server's secondary NIC is functioning.
Suggested answer: A

Explanation:

A custom hosts file is a file that maps hostnames to IP addresses, allowing the user to access websites or servers by their names instead of their numerical addresses. For example, a user can add a line like192.168.1.100 myserver.localto their hosts file and then access the server by typingmyserver.localin their browser. However, this method only works if the IP address of the server does not change. If the server is configured with a dynamic IP address, which means it can be assigned a different IP address by the network router or DHCP server, then the hosts file entry will become invalid and the user will not be able to connect to the server by its hostname. Therefore, the technician should ensure that the server is configured with a static IP address, which means it has a fixed and permanent IP address that does not change. This way, the hosts file entry will always point to the correct IP address of the server and the user will be able to ping the server hostname from their computer.

How to Add a Local DNS Lookup to Hosts File - Help Desk Geek1

Set Custom Domain Name for localhost Website in IIS - TutorialsTeacher.com2

The Official CompTIA A+ Core 1 Student Guide (Exam 220-1101) eBook, page 4-9

asked 02/10/2024
Karol Ligeza
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first