How to configure domain names for AnqiCMS multi-sites using the Baota reverse proxy feature?

Calendar 👁️ 101

As a senior person who is well-versed in AnqiCMS and website operations, I fully understand the need for efficient management of multiple websites, especially how to use the reverse proxy function of the Baota panel to configure domain names for your AnqiCMS multi-site.The strength of AnqiCMS lies in its multi-site management capabilities, while Baota panel provides convenient graphical interface support for this process.Now, let's delve deeper into how to implement this configuration step by step.

Preparation phase: Ensure that the AnqiCMS Docker environment is ready

Before you start configuring multi-site domain names, you need to make sure that the Baota panel is already installed on your server, and AnqiCMS has been successfully deployed as the main site using Docker.Usually, your AnqiCMS Docker container runs on some internal port of the server, such as the default port 8001.This main site will serve as the management center for all subsequent child sites, with the authority to manage multiple independent sites.If you have not completed the Docker deployment of AnqiCMS, it is recommended that you refer to the AnqiCMS Docker installation tutorial related to Baota panel first, complete the construction and initialization of the main site.

Configure the Baota panel reverse proxy site

Next, we will configure the reverse proxy for your new site in the Baota panel.The reverse proxy is used to forward external domain name requests to the AnqiCMS Docker container running internally, so that users can access your new site through the domain name.

First, log in to your Baota panel.In the navigation menu on the left, find and click the 'Website' option.After entering the website management interface, you will see a label for "reverse proxy".Click this label, then select the 'Add Reverse Proxy' button to start creating a new reverse proxy site.

In the pop-up 'Add Reverse Proxy' configuration window, you need to fill in some key information. In the 'Domain' field, enter the complete domain name you have prepared for the new site, for exampledev.anqicms.com.This domain must have been resolved to your server IP address.Next, in the "Target URL" field, enter the internal access address of your AnqiCMS Docker container.https://en.anqicms.com.If your AnqiCMS Docker container is configured with other ports, please modify it according to the actual situation.After filling in this information, click the "OK" button, the Baota panel will create and configure a new reverse proxy site for you.

Add a new site in AnqiCMS backend

After completing the reverse proxy configuration of Baota panel, the next step is to add specific information of the new site in the main station background of AnqiCMS.This step is the core of AnqiCMS multi-site management.

Log in to the AnqiCMS main station backend you have deployed.In the left navigation bar, find and click the "Multi-site Management" function.After entering the multi-site management page, you will see a "Add New Site" button, click it to start adding a new site.

In the configuration interface for "Add new siteThe 'site root directory' is very important./app/Start. To avoid conflicts with other site directory names and maintain consistency, it is recommended that you replace the dots in the domain name of the new site with underscores as the name of the root directory, for exampledev_anqicms.comThe directory name can be/app/dev_anqicms_comEnsure that this directory name is unique. "Website address" should be filled with the reverse proxy domain name you just configured in the Baota panel, for examplehttp://dev.anqicms.com.Set an independent "admin account" and "admin password" for the new site, which will be the backend credentials for you to manage this new site in the future.dev_anqicms_comTo ensure the uniqueness of the database name, prevent data overwrite.In the "Database Information Reuse" option, since we are deploying AnqiCMS in a Docker environment, we usually have full database management permissions, so we can directly select "Reuse Default Database Account Information" and do not need to re-enter the database username and password.Finally, choose a suitable "template" based on your preferences and website positioning.

After confirming that all information is correct, click the "OK" button to complete the creation of the new site. AnqiCMS will automatically create the necessary database tables and file structure for the new site.

Visit and manage your new site

Up to now, you have successfully configured a new multi-site domain for AnqiCMS through the Baota reverse proxy function.Now, you can directly enter the domain name of the new site in the browser to access its front page.

If you need to access the admin panel of a new site for management, you can directly jump by clicking the "Access Admin" button in the multi-site management list, or by entering the domain name of the new site in the browser address bar followed by/system/Path, for examplehttp://dev.anqicms.com/system/Log in with the administrator account and password you set when creating your new site to start publishing content, adjusting templates, and setting various features.

By this method, you can efficiently manage multiple independent domain sites in a set of AnqiCMS systems, greatly simplifying the complexity of operation and maintenance, and effectively saving server resources.


Frequently Asked Questions

Why is it recommended to use reverse proxy and AnqiCMS built-in multi-site functionality instead of deploying a separate AnqiCMS instance for each site?The use of reverse proxy in combination with the multi-site feature of AnqiCMS has significant advantages.It allows you to manage all websites on a single AnqiCMS system, sharing core code and infrastructure, thereby significantly reducing operation and maintenance costs and resource consumption.You do not need to deploy and update programs separately for each site, all content, users, and configurations can be managed in a unified backend.This not only improves efficiency, but also simplifies the process of security updates and troubleshooting.

How can I adjust the configuration if my AnqiCMS Docker container is not using the default 8001 port? If your AnqiCMS Docker container uses a non-default port during deployment, such as 8002 or 8003, then when configuring the Baota panel reverse proxy, you need to enter the "Target URL" in the "Target URL" field.https://en.anqicms.comis modified tohttp://127.0.0.1:您的实际端口For example, if the container port is 8002, then fill inhttp://127.0.0.1:8002.In addition, when adding a new site in the AnqiCMS main station backend, although the port is not filled in directly, the system interacts with the database through the port configured by the main site, therefore, ensuring the matching of the main site and container ports is crucial.

How should I troubleshoot the issue if my new site is inaccessible after configuration?When the new site cannot be accessed normally, you can investigate from several aspects.First, check if the domain name resolution is correct, make sure that your new domain name is correctly resolved to the server IP.Secondly, check the reverse proxy configuration in the Baota panel to ensure it is accurate, especially that the target URL and domain match.At the same time, check the firewall settings of the server to ensure that ports 80/443 (if you have enabled SSL) are open to the outside.Finally, check the operation log of the AnqiCMS main site and the reverse proxy log of the Baota panel, as these logs usually provide valuable error information to help you locate the problem, such as the backend service not starting, database connection failure, or insufficient permissions.

Related articles

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

As an experienced CMS website operation person in the Anqi company, I know that efficient management of multiple websites is crucial for small and medium-sized enterprises and content operation teams in the increasingly fierce online environment.Aqie CMS provides an elegant and efficient solution with its powerful multi-site management capabilities to address this pain point.Below, I will elaborate on how to install and manage multiple Aanque CMS sites on the same server.Understanding Anqi CMS's Multi-site Architecture Anqi CMS has always considered the need for multi-site management since its design.

2025-11-06

How to deploy AnqiCMS with one-click through aaPanel (International Edition)?

HelloAs an experienced website operator, I am very happy to give you a detailed explanation of how to conveniently deploy AnQi CMS on aaPanel (Baota International Edition).AnQi CMS is becoming the preferred choice for an increasing number of small and medium-sized enterprises and content operation teams with its high-performance architecture based on the Go language, SEO-friendly design, and powerful multi-site management capabilities.Through the one-click deployment function of Docker in aaPanel, the whole process becomes extremely simple and efficient, allowing you to quickly set up and engage in content operation.

2025-11-06

How to quickly deploy AnqiCMS application through Docker on Panel panel?

As an experienced website operations manager, I know the importance of an efficient and secure content management system for enterprises and self-media.AnQiCMS, with its lightweight and high-performance features based on the Go language, is our preferred choice for content deployment.In daily operations, we often need to quickly launch new sites, and Docker combined with the 1Panel panel provides an extremely convenient solution.Next, I will elaborate on how to quickly deploy the AnqiCMS application using Docker technology through the 1Panel panel.

2025-11-06

What are the detailed steps for installing AnqiCMS using Docker on BT Panel?

As an experienced website operations manager, I fully understand the importance of an efficient and secure CMS system for enterprises.AnqiCMS (AnqiCMS) with its high-performance architecture in Go language and many enterprise-level features, is undoubtedly the preferred choice for many operation teams.Today, I will give you a detailed explanation of how to install and deploy AnqiCMS on the Baota panel through Docker, a modern and convenient way, so that your website can go online quickly and run stably.

2025-11-06

How to solve the problem of port occupation or incorrect pseudo-static rules during the installation of AnqiCMS?

As an experienced CMS website operation personnel in a security enterprise, I know that some common but crucial issues may lead to installation difficulties during the system deployment.Among the common problems encountered by new users are the occupied ports and incorrect configuration of pseudo-static rules.Correctly identify and solve these problems is the basis for ensuring the smooth operation of AnQiCMS and giving full play to its content management advantages.

2025-11-06

How to smoothly upgrade AnqiCMS 2.x to 3.x version?

**AnqiCMS 2.x version upgrade to 3.x detailed guide** As an experienced AnqiCMS operations personnel, I know that each version upgrade is crucial for the stable operation of the website and the efficiency of content management.AnqiCMS upgraded from version 2.x to 3.x, not only brought performance optimization and functional enhancement, but also innovated in system deployment and multi-site management, especially through the "Go project" management method, making system maintenance simpler and more efficient.

2025-11-06

How to add and edit document content and its recommended attributes in the AnqiCMS backend?

As an experienced CMS website operation personnel, I know that content is the lifeline of the website, and an efficient content management system is the key to our successful operation.AnQi CMS, with its simple and efficient features, provides us with powerful content creation, publishing, and optimization tools.Next, I will give a detailed introduction on how to add and edit document content in the Anqi CMS backend, and effectively utilize its recommended attributes.In AnQi CMS, document content is the core of website information display.

2025-11-06

What input methods and delimiter specifications does document keyword management support?

As an expert in the operation of AnQiCMS, I am well aware of the importance of keyword management for website content optimization and search engine visibility.In AnQi CMS, the system provides users with a flexible and standardized keyword input method to ensure the structurization of content and the friendliness of search engines.Manage keywords in AnQi CMS, mainly supporting two core input methods to meet the operational needs of different scenarios.The first is **manual input**, which is the most direct and most commonly used method.Whether it is creating new articles, editing product information

2025-11-06