nerdexam
LPI

102-500 · Question #152

Your senior systems administrator asks you to set up a new machine with Apache listening on port 8088. Which Apache config file would you edit to change the default port to 8088?

The correct answer is A. httpd.conf. httpd.conf is Apache's primary configuration file and the correct place to change the listening port - you'd modify or add a Listen 8088 directive there to override the default port 80. Why the distractors are wrong: B. srm.conf - historically used for resource map settings…

Essential System Services

Question

Your senior systems administrator asks you to set up a new machine with Apache listening on port 8088. Which Apache config file would you edit to change the default port to 8088?

Options

  • Ahttpd.conf
  • Bsrm.conf
  • Caccess.conf
  • Dinet.conf

How the community answered

(38 responses)
  • A
    76% (29)
  • B
    5% (2)
  • C
    13% (5)
  • D
    5% (2)

Explanation

httpd.conf is Apache's primary configuration file and the correct place to change the listening port - you'd modify or add a Listen 8088 directive there to override the default port 80.

Why the distractors are wrong:

  • B. srm.conf - historically used for resource map settings (document root, MIME types); it's deprecated and never controlled ports.
  • C. access.conf - was used for directory-level access controls in older Apache versions; also deprecated, never for port configuration.
  • D. inet.conf - not an Apache file at all; inetd.conf belongs to the inetd super-server daemon, a completely different service.

Memory tip: Think "HTTP Daemon configuration" - httpd.conf is the master control file for the HTTP daemon (Apache), so anything global like ports, server name, or module loading lives there. If it affects the whole server, it's in httpd.conf.

Topics

#Apache configuration#HTTP service#Port configuration#Configuration files

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice