• Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
logo logo
  • Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
ENEN
  • 简体简体
  • 繁體繁體
Client Area

Apache for Newbie: Set up Apache with mod_info

December 17, 2023

Apache for Newbie: Set up Apache with mod_info

Apache is one of the most popular web servers in the world, known for its reliability and flexibility. If you are new to Apache and want to learn how to set it up with mod_info, this article is for you. Mod_info is a module that provides detailed information about the server’s configuration and performance. It can be a valuable tool for troubleshooting and optimizing your website.

Step 1: Install Apache

The first step is to install Apache on your Hong Kong VPS hosting. If you are using a Linux distribution, you can use the package manager to install Apache. For example, on Ubuntu, you can run the following command:

sudo apt-get install apache2

Once the installation is complete, you can start Apache by running:

sudo systemctl start apache2

You can verify that Apache is running by visiting your server’s IP address in a web browser. You should see the default Apache welcome page.

Step 2: Enable mod_info

Mod_info is not enabled by default in Apache. To enable it, you need to edit the Apache configuration file. On Ubuntu, the configuration file is located at /etc/apache2/apache2.conf. Open the file in a text editor and add the following line:

LoadModule info_module /usr/lib/apache2/modules/mod_info.so

Save the file and restart Apache for the changes to take effect:

sudo systemctl restart apache2

Step 3: Access mod_info

Once mod_info is enabled, you can access it by visiting /server-info on your server’s IP address. For example, if your server’s IP address is 192.168.0.1, you can access mod_info by visiting http://192.168.0.1/server-info in a web browser.

By default, mod_info is only accessible from the server itself. If you want to access it from a remote machine, you need to modify the Apache configuration file again. Find the <Location /server-info> section and add the IP address or range that you want to allow access from. For example:

<Location /server-info>
    SetHandler server-info
    Require ip 192.168.0.0/24
</Location>

Save the file and restart Apache. Now you should be able to access mod_info from the allowed IP address or range.

Step 4: Explore mod_info

Once you have access to mod_info, you can explore the various information it provides. Mod_info displays detailed information about the server’s configuration, loaded modules, server version, and more. It can be a valuable tool for troubleshooting and optimizing your Apache server.

For example, you can view the loaded modules by visiting /server-info?list. This will display a list of all the modules loaded by Apache.

You can also view the configuration directives by visiting /server-info?config. This will display the server’s configuration in a hierarchical format.

Summary

Setting up Apache with mod_info can provide valuable insights into your server’s configuration and performance. By following the steps outlined in this article, you can easily enable mod_info on your Hong Kong VPS hosting. Once enabled, you can access mod_info to explore detailed information about your Apache server. This information can be useful for troubleshooting and optimizing your website, ensuring it runs smoothly and efficiently.

Recent Posts

  • How to Set Up a Mail Server on Hong Kong VPS: Postfix, Dovecot, and Email Deliverability (2026)
  • How to Run a SaaS Product on Hong Kong VPS: Architecture and Deployment Guide 2026
  • Hong Kong VPS Uptime and SLA: What 99.9% Uptime Really Means for Your Business (2026)
  • Cryptocurrency and USDT Payment for VPS Hosting: Why It Matters for Global Businesses (2026)
  • How to Speed Up Your Website for China: A Technical Optimization Guide 2026

Recent Comments

  1. Hong Kong VPS Uptime and SLA: What 99.9% Uptime Really Means for Your Business (2026) - Server.HK on How to Monitor Your Hong Kong VPS: Uptime, Performance, and Alert Setup Guide (2026)
  2. Best Hong Kong VPS Providers in 2026: Compared by Speed, Routing, and Value - Server.HK on How to Migrate Your Website to a Hong Kong VPS: Zero-Downtime Transfer Guide (2026)
  3. vibramycin injection on How to Choose the Right Hong Kong VPS Plan: A Buyer’s Guide for 2026
  4. allopurinol for gout on CN2 GIA vs BGP vs CN2 GT: What’s the Real Difference for China Connectivity?
  5. antibiotics online purchase on How to Set Up a WordPress Site on a Hong Kong VPS with aaPanel (Step-by-Step 2026)

Knowledge Base

Access detailed guides, tutorials, and resources.

Live Chat

Get instant help 24/7 from our support team.

Send Ticket

Our team typically responds within 10 minutes.

logo
Alipay Cc-paypal Cc-stripe Cc-visa Cc-mastercard Bitcoin
Cloud VPS
  • Hong Kong VPS
  • US VPS
Dedicated Servers
  • Hong Kong Servers
  • US Servers
  • Singapore Servers
  • Japan Servers
More
  • Contact Us
  • Blog
  • Legal
© 2026 Server.HK | Hosting Limited, Hong Kong | Company Registration No. 77008912
Telegram
Telegram @ServerHKBot