How to fill in the target address when adding AnQiCMS multi-site reverse proxy on Baota panel?

Calendar 👁️ 61

As an experienced CMS website operation personnel for a security company, I know that the configuration of reverse proxy is the key to ensure the efficient and stable operation of the website when managing multiple sites on the Baota panel.The correct entry of the 'target address' directly determines whether the user's request can be accurately delivered to your AnQiCMS application.

Understand the working principle of AnQiCMS and reverse proxy

AnQiCMS, as an enterprise-level content management system developed based on the Go language, runs on the server and listens on a specific port to handle incoming requests.When you deploy AnQiCMS on Baota panel, especially through Docker container installation, AnQiCMS usually runs independently within the container or on some port of the server.This port is open to the server internally, not directly facing the public network.

The Baota panel's reverse proxy function acts as a "traffic commander".It receives domain name requests from external (user browser) and then forwards these requests to the internal port that AnQiCMS is actually listening on.This way, external users do not need to know the specific port inside AnQiCMS, they can access your website simply by domain name.

Specification for filling in the 'target address' of Baota panel reverse proxy

When adding AnQiCMS multi-site reverse proxy in Baota panel,“Target Address”should be filled in ashttps://en.anqicms.com.

This address consists of two key pieces of information:

  • http://127.0.0.1This represents the local loopback address, commonly known as 'localhost'.It informs the reverse proxy that the request needs to be forwarded to this server.This means that your AnQiCMS application is running on the same server as the Baota panel reverse proxy service.
  • :8001This specifies the port that the AnQiCMS application listens on internally.According to the default configuration of AnQiCMS and the guidance in the Baota Docker installation tutorial, the AnQiCMS container usually maps its service port to port 8001 on the server.Therefore, the reverse proxy needs to forward the request to this specific port.

Adjustment of target address under multi-site deployment

A significant advantage of the AnQiCMS project is that it supports multi-site management.If you deploy multiple AnQiCMS instances on the same server (even if they are the same AnQiCMS program, created through its multi-site feature to create different sites), each independent AnQiCMS site will occupy a unique internal port when running.

For example, if you follow the tutorial "Adding multiple sites to AnQi CMS through reverse proxy", you may use the default port 8001 for the main site, and allocate different internal ports such as 8002, 8003, etc. for the second, third, and subsequent sites.In this case, when configuring a reverse proxy for each new site, the "target address" must match the actual internal port that the site is listening on.

  • For the first site (usually the default installation), the target address ishttps://en.anqicms.com.
  • For the second site, if it is configured to listen on port 8002, then the target address of its reverse proxy should behttp://127.0.0.1:8002.
  • As a continuation, each new site created by the AnQiCMS multi-site feature must be set up with a corresponding reverse proxy in the Baota panel, and the port number in the "destination address" should match the actual listening port configured in the "multi-site management" of the site in the AnQiCMS backend (or the port mapped by the Docker container) exactly.

By such configuration, Baota panel can intelligently route requests from different domain names to AnQiCMS site instances running on different internal ports, thereby achieving efficient multi-site management.

Frequently Asked Questions

Q1: If my AnQiCMS is not listening on port 8001, how should I fill in the 'target address'?A1: If your AnQiCMS instance (whether it is the main site or a new site created through the multi-site feature) is configured to listen on other ports, such as 8002, 8003, or even other custom ports, then the port number in the "target address" must also be modified accordingly. You can confirm the actual listening port in the AnQiCMS backend configuration (such as the site configuration in the multi-site management interface or the port mapping settings of the Docker container) and then fill in the "target address" as followshttp://127.0.0.1:您AnQiCMS实际监听的端口.

Q2: Why should 'target address' be used127.0.0.1instead of my public IP address?A2:127.0.0.1It is a special IP address representing the local machine. When your AnQiCMS application and the Baota panel reverse proxy service are running on the same server, use127.0.0.1Ensure that the request is forwarded internally within the server, avoiding unnecessary network hops and improving communication efficiency and security.It means that the reverse proxy will send the request back to the machine it is on, rather than sending it to the external network.

Q3: What is the difference between the "website address" and the "target address" when creating a new site in the "Multi-site Management" section of the AnQiCMS backend?A3: The 'Multiple Site Management' in AnQiCMS backend, the 'Site Address' is the one facing users of your sitePublic access domainfor examplehttp://dev.anqicms.com), it is the address entered by external users in the browser. The "target address" of Baota reverse proxy is AnQiCMS listening internallyInternal IP and portfor examplehttp://127.0.0.1:8002This is the actual internal service address where the reverse proxy forwards external requests. Both play different roles and need to be correctly configured to ensure the smooth operation of your website.

Related articles

How to use the reverse proxy feature of Baota panel to implement AnQiCMS multi-site deployment?

As an experienced CMS website operation person in a well-known security company, I am well aware of the importance of efficient management and flexible expansion.The Anqi CMS takes advantage of its multi-site management features, providing great convenience to operators.By combining the powerful reverse proxy capabilities of the Baota panel, we can easily implement a set of secure CMS services for multiple independent domain websites, greatly saving server resources and simplifying operation and maintenance work.This article will detail how to use the reverse proxy function of the Baota panel to deploy and manage multiple sites of the Anqi CMS, helping you operate efficiently.### Preparation: Baota Panel and Anqi CMS

2025-11-06

What is the initialization installation process after AnQiCMS Docker installation is completed?

The AnQiCMS website is deployed in the Docker environment, and the next critical step is to perform the system initialization installation.This process is intended to configure the database connection, set up the administrator account, and fill in the basic information of the website, so that your content management system can be officially put into use.As a professional who deeply understands the operation of AnQiCMS, I will explain this initialization process in detail to ensure that you can smoothly launch your new website.

2025-11-06

How to solve the problem when installing AnQiCMS application with Baota Docker if the port is occupied?

As an experienced security CMS website operator, I know that every detail can affect user experience and operation efficiency.For the port occupation problems that may be encountered when installing AnQiCMS using Docker on the Baota panel, I will explain the solution in detail for you.## Solve the port occupation problem when installing AnQiCMS with Docker on Baota Deploying AnQiCMS to the Docker environment of Baota panel, we pursue its efficient and convenient advantages.AnQi CMS as a lightweight CMS developed based on the Go language

2025-11-06

How to access the AnQiCMS admin interface installed by Baota Docker via a bound domain?

As an experienced CMS website operation manager, I know that the core value of a content management system lies in the efficient and convenient management of content, and the stability and secure access of the website backend is the foundation of all this.For users who install AnQi CMS through Docker on the Baota panel, how to smoothly access the background management interface through a custom domain is a key step to ensure the smooth conduct of daily operational work.The AnQi CMS is developed in Go language, and is favored for its high performance and security.

2025-11-06

How to add a new website site in the 'Multi-site Management' feature of the AnQiCMS backend?

As a website manager who deeply understands the operation of AnQi CMS, I know the importance of efficient content management and multi-site operation for enterprises.The multi-site management feature provided by Anqi CMS is designed to meet this core requirement, allowing you to manage multiple independently operated websites within a single system, thereby greatly improving operational efficiency and optimizing resource allocation. ### Deeply Understand the Multisite Management Capabilities of Anqi CMS The multisite management function of Anqi CMS is one of its core highlights.It allows for multiple brands

2025-11-06

What are the specific requirements for the setting of the "site root directory" in the AnQiCMS multi-site configuration?

In AnQiCMS (AnQiCMS) multi-site management feature, "site root directory" is a crucial configuration item.It is not just a simple file path, but also the foundation to ensure that each sub-site operates independently and efficiently.As an experienced website operator, I am well aware of the importance of correctly configuring this parameter for multi-site stability and data isolation.The main function of the "site root directory" is to provide a dedicated data storage space for each independent AnQiCMS site.This means the cache files, uploaded resources for each sub-site

2025-11-06

Is each AnQiCMS instance required to use an independent database in multi-site mode?

As an experienced website operator familiar with AnQiCMS, I know the importance of the architecture selection of the content management system for the long-term operation of the website, especially when it comes to multi-site deployment, the configuration of the database is one of the key considerations.About whether each site must use an independent database in the multi-site mode of AnQiCMS, this is a key issue that many operators pay attention to at the beginning of planning.AnQiCMS was designed from the beginning to fully consider the user scenarios of small and medium-sized enterprises, self-media operators, and users with multi-site management needs.The 'Multi-site Management' core feature

2025-11-06

Can the database account information be reused when deploying AnQiCMS across multiple sites?

As an experienced CMS website operation personnel in the security industry, I fully understand that how to efficiently and safely configure resources when managing multiple sites is the core concern.About the question you raised 'Can the database account information of different sites be reused when deploying AnQiCMS across multiple sites?'This question, I can clearly tell you that in the AnQiCMS multi-site deployment, the database account information of different sites can be reused, but the database instance itself needs to be independent.

2025-11-06