How to install and manage multiple AnQiCMS sites on the same Linux server?

Calendar 👁️ 69

Hello! As an experienced website operations expert, I fully understand the importance of efficiently and conveniently utilizing existing resources when managing multiple websites.AnQiCMS (AnQiCMS) is designed for such needs with its powerful multi-site management capabilities.It can not only help us reduce operating costs, but also significantly improve management efficiency.

Next, I will focus on how to install and manage multiple AnQiCMS sites on the same Linux server?This topic, we will give you a detailed interpretation of each link from the deployment strategy to the specific operations, striving to present complex technical information to you in the most intuitive and practical way possible.


Manage multiple sites: A practical guide to efficiently manage multiple AnQiCMS sites on Linux servers

In the age of increasingly popular digital marketing, many companies, self-media or individuals often need to manage multiple brand websites, product display pages, or content topics.How to achieve centralized and efficient management of these sites under limited server resources, while ensuring their independence and stability, is a major challenge facing operators.AnQiCMS (AnQiCMS) provides the perfect solution with its core advantage of 'multi-site management'.

AnQi CMS adopts a lightweight architecture based on the Go language, which means it inherently has high concurrency processing capabilities and excellent performance. What is even more remarkable is that it allows us toThe same AnQiCMS application instanceBelow, easily create and manage multiple independent websites. This greatly reduces resource consumption and avoids the麻烦 of deploying a separate CMS for each site, truly realizing the vision of "one system, multiple deployments".

Understanding the core principle of AnQiCMS multi-site management

Before starting the actual operation, we first need to clarify the basic idea of AnQiCMS multi-site management. It is not to install multiple copies of the AnQiCMS program on the server, but through aA single-running AnQiCMS applicationRespond to requests from different domain names and route the requests to the corresponding logical sites according to the domain name.Each logical site has an independent website configuration, content, database, and file storage path, but shares the core program code and runtime environment of AnQiCMS.

This design pattern brings significant advantages:

  • Resource-efficient utilization: Just one program runs, saving a lot of CPU, memory, and disk space.
  • Centralized and unified managementAll site management entries (multi-site management) are in the background of the main site, making it convenient for overall control.
  • Deployment and maintenance simplified:Program updates, security patch applications, and other operations need to be performed only once to benefit all sites.
  • Data isolation and security: Although the programs are shared, the data (databases, cache files, etc.) of each site are stored independently, without affecting each other.

Pre-deployment preparation: Basic environment and domain configuration

Deploy multiple AnQiCMS sites on a Linux server, you need to prepare the following:

  1. A server running the Linux operating systemEnsure the system environment is stable and Docker or your preferred web server (such as Nginx/Apache) and MySQL database are installed.The panel is recommended in the document for visual management, which will greatly simplify the operation.
  2. Multiple independent domainsEach AnQiCMS site needs to be bound to a unique domain name, for examplewww.site1.com,www.site2.cometc. Make sure these domains are correctly resolved to your Linux server IP address.
  3. MySQL database service: AnQiCMS needs MySQL database to store data.If you use Docker, you can consider installing the Docker version of MySQL;If deploying manually, make sure MySQL is installed and running.

Practical deployment: for example, using Baota panel (recommended method)

The Baota panel, with its friendly graphical interface, has become the preferred choice for many operators.The following will use the Baota panel as an example to detail how to install and manage multiple AnQiCMS sites on the same server.

Step 1: Install Baota panel and configure basic services

If you have not installed Baota panel yet, please visitbt.cnGet the installation tutorial. After installation, log in to the Baota panel:

  1. Install DockerIn the left menu of the Baota panel, find "Docker", the first time you use it will prompt you to install, click "Install Now".
  2. Install Docker MySQLIn the Docker app store, search for 'mysql' and install.Recommend choosing version 5.7 and check the option 'Allow external access'.After installation, be sure to enter the MySQL detail page and copyrootThe user's password, which will be used for the subsequent installation of AnQiCMS.
  3. Install the first AnQiCMS application using Docker.In the Docker container page, click "Create container."
    • nameFill inanqicms.
    • MirrorManual inputanqicms/anqicms:latest.
    • Port: Both the server port and container port should be filled in8001(This is the default internal running port of AnQiCMS).
    • Restart policySelect 'restart after failure' or 'restart if not manually stopped'. Click confirm to complete the container creation.

Step 2: Configure reverse proxy and initialize for the first AnQiCMS site.

After the container is created, the AnQiCMS program has already been running in Docker, but it cannot be accessed directly through the domain name. We need to configure a reverse proxy:

  1. Create a reverse proxy website: Click on 'Reverse Proxy' under the left menu 'Website' in the Baota panel, then click 'Add Proxy'.
    • Main domainEnter the domain name of your first AnQiCMS site, for examplewww.site1.com. *

Related articles

What are the common reasons for initialization installation failure of AnQiCMS, and how to troubleshoot?

AnQiCMS (AnQiCMS) benefits from the efficient and customizable features brought by Go language, and is favored by a large number of webmasters and corporate users.However, even the most excellent system is bound to encounter some minor hiccups during the initial installation.As an experienced website operation expert, I am well aware of the importance of a smooth installation experience for users.Today, let's deeply analyze the common reasons for the initialization installation failure of AnQiCMS, and provide you with a set of effective troubleshooting methods to help you easily master AnQiCMS.

2025-11-06

What key database information and administrator account information need to be filled in on the AnQiCMS initial installation interface?

## AnQiCMS Initialization Installation: Full Analysis of Database and Administrator Account Information As an experienced website operations expert, I know that the smooth operation of a content management system (CMS) is laid from the initial installation and configuration stage.AnQiCMS is a corporate-level content management system developed based on the Go language, which is favored for its efficiency, security, and ease of use.For users who are first-time contacts with AnQiCMS, the database information and administrator account information that need to be filled in on the initial installation interface are crucial to ensure the normal startup and subsequent safe operation of the system.

2025-11-06

How to deploy AnQiCMS if the Baota panel version is low and does not directly support 'Go project'?

I am glad to elaborate on this common but somewhat tricky issue in website operation.AnQi CMS is an advanced content management system developed based on the Go language, and its deployment method is usually different from the traditional PHP environment.When you are faced with a relatively low version of the Baota panel and find that it does not directly provide deployment options for "Go projects", it indeed requires some clever strategies.Don't worry, this does not mean that you cannot enjoy the efficiency and convenience brought by AnQiCMS. We have a way to make it run stably on your server.

2025-11-06

Why does Baota panel recommend deploying AnQiCMS in the 'Go project' way?

In the practice of website operation, choosing a highly efficient and stable content management system is crucial, and AnQiCMS (AnQiCMS) is gaining popularity among more and more operators with its unique advantages based on the Go language.When talking about deploying AnQiCMS on the Baota panel, a common question arises: why do official and experienced users recommend using Baota's "**Go project**" method instead of traditional "other projects" or Docker container deployment?This lies behind a deep consideration of performance, efficiency, and operational convenience.

2025-11-06

How to set the root directory and database name of a new site when adding AnQiCMS multi-site via Baota panel to avoid conflicts?

As an experienced website operations expert, I know that how to deploy multiple websites efficiently and without conflict is the key to success.AnQiCMS (AnQiCMS) provides us with great convenience with its excellent multi-site management capabilities.Today, let's delve into how to cleverly set the root directory and database name of a new site when deploying AnQiCMS multi-site with Baota panel, in order to avoid annoying conflicts and ensure that each site can run independently and stably.The strength of AnQi CMS lies in its ability to utilize a simple and efficient system architecture

2025-11-06

What are the precautions to be taken when configuring Nginx pseudo-static for AnQiCMS multi-site on the Baota panel?

As an experienced website operations expert, I am well aware of the importance of Nginx pseudo-static configuration for improving user experience and search engine optimization (SEO), especially in a powerful, multi-site management system like AnQiCMS.Static URL rewriting not only makes the URL look more concise and readable, but also makes it more friendly for search engine spiders to crawl and index the content, thus bringing better rankings.

2025-11-06

How to deploy AnQiCMS on a Linux server without a graphical panel in a command-line environment?

In the wave of digitalization, an efficient and stable content management system (CMS) is an indispensable foundation for both enterprises and individuals to operate websites.AnQiCMS (AnQiCMS) is an enterprise-level CMS developed based on the Go language, which has won good reputation in the industry with its excellent performance, security, and flexible scalability.It is particularly suitable for users who pursue lightweight, efficient, and customizable solutions, whether it is for small and medium-sized enterprises, self-media, or multi-site administrators.

2025-11-06

How to configure Nginx reverse proxy after installing AnQiCMS via command line to access through port 80?

AnQiCMS is an enterprise-level content management system developed based on the Go language, which is favored by an increasing number of small and medium-sized enterprises and content operation teams due to its high efficiency, security, and ease of deployment.Under Linux, after installing AnQiCMS via the command line, we usually find that it runs on a specific port like `8001` by default.

2025-11-06