• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Install | Apache HTTP Server
  1. References
  2. Installation
  3. How to change apache HTTP port?
  4. How to change Apache document root folder?

  1. References
    See this page for more details on how to install Apache HTTP Server:
    https://help.ubuntu.com/lts/serverguide/httpd.html
  2. Installation

    Change the folder permissions:

    Create a symbolic link of the log folder:

    Configure your server name.
    Add 'ServerName YOUR_SERVER_NAME' in '/etc/apache2/apache2.conf' file:

    Restart Apache HTTP Server:

    Verify the version of Apache HTTP Server:

    Access the default page of Apache HTTP Server: http://localhost

    Apache HTTP Server
  3. How to change apache HTTP port?
    See this page for more details on how to configure virtual hosts:
    https://httpd.apache.org/docs/current/vhosts/examples.html

    Change the default port:

    You may have to modify the port in the following file:
    Restart Apache HTTP Server:
  4. How to change Apache document root folder?
    Change the DocumentRoot option in the following file:

    Restart Apache HTTP Server:
© 2025  mtitek