What are the specific field requirements for adding a new site in the AnQiCMS multi-site management?

Calendar 👁️ 68

As an experienced security CMS website operator, I know the importance of content management systems in multi-site operations.AnQiCMS with its efficient and customizable features, provides us with great convenience in managing multiple brands or content branches.Adding a new site in AnQiCMS is a common operation, which allows us to centralize the management of different sites into a single system.The system will detail the specific requirements for each field when adding a new site in AnQiCMS multi-site management.

When managing multiple sites on the AnQiCMS backend, selecting the "Add New Site" feature will display a series of fields that need to be filled in.These fields are the key configurations to ensure that the new site can run independently and correctly.

FirstlySite nameThis is an identifier used to recognize new sites, usually we fill in according to the actual brand or project name, so that it can be easily distinguished and managed in the background.This name is not visible to frontend users, it is purely for internal management purposes.

Next isSite root directoryconfiguration. Due to the Docker deployment characteristics of AnQiCMS, it is required to use/app/Start by following with the new site's domain name, but replace all points in the domain name with underscores (.) need to be replaced with underscores (_). For example, if the new site's domain name isdev.anqicms.com, then the site root directory should be filled in as/app/dev_anqicms_com.This directory is used for independently storing cache files and other runtime data for new sites, so it is necessary to ensure that its naming is unique to avoid repetition of directory names with existing sites, to prevent data conflicts.

Specify nextwebsite addressThis field requires filling in the complete URL of the new site, for examplehttp://dev.anqicms.com.AnQiCMS will use this address as the basis to construct the front-end access link of the website and load the corresponding resources.Accurately filling in the website address is the basis for ensuring that users can access the new site normally.

For the management of the new site, it is necessary to setAdministrator account password. This is the independent backend login credentials of the new site, it is recommended to set a combination of accounts and passwords with high security to ensure the security of the site's content and configuration.

Regarding database configuration, information needs to be provided.Database name. Similar to the root directory of the site, the database name of a new site usually also adopts the domain name form by replacing the dot(".) such asdev_anqicms_com. This database will be used specifically to store the content of new sites, user data, and other configuration information, to achieve data isolation between sites.

In the process of filling in database information, if AnQiCMS is deployed through Docker, the system will provideDuplicate database informationThe option.Since Docker deployment usually means that the system has full database management permissions, we can choose to "re-use the default database account information", thus avoiding the need to enter the database username and password again, simplifying the configuration process.If you need to store the data of the new site on a separate database server or use different database credentials, you will need to manually fill in the detailed database connection information according to the actual situation.

Finally, it needsSelect the template to use. The new site can inherit the existing templates of the system or specify a customized template for the site. This will determine the visual style and layout structure of the new site's frontend.

By carefully configuring the above fields, we can successfully add a new site with complete functionality and independent operation in the AnQiCMS multi-site management, providing more possibilities for our content operation.


Frequently Asked Questions (FAQ)

Q1: How to ensure that multiple AnQiCMS sites run independently on a single server without port conflicts?A1: AnQiCMS is deployed in the Docker environment, and each instance will occupy a port.You need to assign a different internal port for each AnQiCMS container (for example, the default is 8001, you can specify 8002, 8003, etc.).Then, in the reverse proxy of your server (such as Nginx or Apache), configure different external access ports for each domain or use domain names to differentiate, and forward the requests to the corresponding internal ports of the AnQiCMS container.When adding a new site in the AnQiCMS multi-site management, although you can share the same AnQiCMS program, each "logical" site requires an independent site root directory and database name. The reverse proxy will route requests with specific domain names to the main AnQiCMS instance, and AnQiCMS will then determine which site based on the domain name.

Q2: What will happen if the database name already exists or the database account password is incorrect when adding a new site?A2: If the database name you enter already exists, the system may prompt a conflict or attempt to connect to an existing database, which may cause data confusion or overwrite.If the database account password is incorrect, AnQiCMS will not be able to connect to the database, new sites will not be able to be created or initialized successfully, and the system will report an error indicating a database connection failure.To avoid such problems, please ensure that the database name of the new site is unique, and carefully check the accuracy of the database account and password, or choose to "reuse the default database account information" to avoid manual input errors.

Q3: How is the template used for the new site determined? If I want to use a completely different appearance for different sites, how should I operate?A3: When adding a new site, there is a "Select the template to use" field, from which you can choose from the templates uploaded and configured in the system.Each new site can independently choose its own template./templateIn the directory, and add the correct for each templateconfig.jsonconfiguration file. This way, when adding a new site, you can select the corresponding template from the list and give each site a unique appearance.

Related articles

How to configure MySQL database when installing AnQiCMS via Baota panel Docker?

As a senior security CMS website operator, I know that a stable and efficient CMS system cannot do without the robust support of its underlying database.Deploying AnQiCMS in the Docker environment of Baota panel not only simplifies the installation process but also provides an isolated, secure, and easy-to-manage application environment.Properly configuring the MySQL database is undoubtedly a key step to ensure the normal operation and data security of AnQiCMS.

2025-11-06

How to manually configure reverse proxy after AnQiCMS Docker deployment fails on aaPanel?

In the daily operation of AnQiCMS, we deeply understand that stable and efficient content release is the foundation of success.When you try to deploy AnQiCMS through Docker in the aaPanel environment, you may occasionally encounter a situation where the automated reverse proxy configuration fails.This is usually not a fatal problem, but requires us to manually intervene and calibrate the configuration to ensure that AnQiCMS can provide normal external service through your domain.

2025-11-06

How to deploy AnQiCMS Docker application with aaPanel one-click?

As an experienced CMS website operation person in an enterprise, I am well aware of the importance of an efficient and stable content management system for both enterprises and individual operators.AnQi CMS, with its high concurrency characteristics of the Go language, concise architecture design, and in-depth optimization for SEO, has become the preferred choice for many small and medium-sized enterprises and self-media teams.

2025-11-06

How to set up port mapping and reverse proxy for AnQiCMS Docker container in Panel?

As an experienced senior CMS website operation person, I know the importance of efficient deployment and stable operation for any content management system.In the modern web environment, Docker container deployment is favored for its convenience, isolation, and portability.A strong and flexible content management platform can be provided for you by combining Anqi CMS with Docker.This article will elaborate on how to set up port mapping and reverse proxy for the AnQiCMS Docker container in the Panel environment, ensuring that your website can be accessed smoothly.

2025-11-06

What are the naming conventions for the root directory and database in a multi-site AnQiCMS environment under Docker?

Deploying and managing AnQiCMS multi-site in Docker environment, it is crucial to follow a clear root directory and database naming convention to ensure system stability, maintainability, and future scalability.As an experienced website operator, I am well aware of the importance of these standards for the efficient operation of multiple sites. They can effectively avoid configuration conflicts, simplify troubleshooting procedures, and improve overall management efficiency.

2025-11-06

Who are the main user groups and application scenarios that AnQiCMS targets?

As an experienced website operator familiar with AnQiCMS, I fully understand the strategic significance of choosing a content management system.A great CMS is not only about technical implementation, but also about whether it can accurately meet user needs and empower business growth.AnQiCMS, as an enterprise-level content management system based on the Go language, its design philosophy and positioning of functions are clearly aimed at specific user groups and application scenarios.AnQi CMS is committed to providing strong support for users who seek efficient, customizable, and easily scalable content management solutions.Its core goal is to help small and medium-sized enterprises

2025-11-06

What are the core functions and technical advantages of AnQiCMS?

As a website operator who is deeply familiar with the operation of AnQiCMS, I know the importance of an efficient and flexible content management system for attracting and retaining users.AnQiCMS, as an enterprise-level content management system developed based on the Go language, provides a strong and simple solution for small and medium-sized enterprises, self-media operators, and multi-site management users under this concept.The core functions and technical advantages are all centered around improving content operation efficiency, optimizing user experience, and ensuring data security.The core design concept of AnQiCMS is to provide a content operation from publishing

2025-11-06

How to use AnQiCMS for unified content management across multiple sites?

As an experienced content manager who deeply understands the operation of AnQiCMS, I know that having multiple websites or brand sub-sites has become the norm in today's digital marketing era.However, how to efficiently and uniformly manage these scattered content resources is often a great challenge for the operation team.Luckily, AnQiCMS, with its powerful multi-site management capabilities, has provided us with an elegant and efficient solution.

2025-11-06