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…
Question
Options
- Ahttpd.conf
- Bsrm.conf
- Caccess.conf
- Dinet.conf
How the community answered
(38 responses)- A76% (29)
- B5% (2)
- C13% (5)
- D5% (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.confbelongs to theinetdsuper-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
Community Discussion
No community discussion yet for this question.