How to achieve independent display and management of content for multiple sites in AnQi CMS?

Calendar 👁️ 65

In today's diverse online environment, many businesses and individual operators often need to manage multiple websites simultaneously.These websites may represent different brands, product lines, or target different user groups and regions.How to achieve independent management and display of these site contents under a unified framework, while maintaining efficiency and flexibility, is a challenge faced by many operators.AnQiCMS (AnQiCMS) provides an excellent solution for this requirement with its powerful multi-site management function.

One of the core advantages of AnQi CMS is that it allows you to manage multiple independent sites through a single system.This is completely different from the traditional model of one website and one CMS.Imagine that you don't have to build a new CMS for each new brand or project, maintain multiple environments, or deal with different upgrade cycles. Instead, all sites share a stable, efficient underlying architecture, which will greatly reduce operation costs and management complexity.

Firstly, although we say "a set of systems", in actual deployment, Anqi CMS cleverly realizes the logical isolation between sites.For example, with a common Docker deployment, you may just need to start a secure CMS container and map it to a port on the server (such as 8001).Then, by using a reverse proxy server (such as Nginx or Apache), you can map different domain names (such aswww.brandA.comandblog.brandB.comThey are all pointing to the same port of this security CMS container.Within the AnQi CMS, each site has an independent database name and site root directory.This means that the content, configuration, and even cache data of different sites are independent of each other, without interference, ensuring data security and purity.For example, if you deploy anQi CMS in a Docker environment, the root directory of a new site will usually be set to/app/Start with, such as/app/dev_anqicms_comTo distinguish different site data storage spaces.

Enter the AnqiCMS backend and you will find that the "multi-site management" feature is its core highlight.Here, you can easily add new sites and configure each site in detail.On the interface for adding a new site, you need to fill in the site name, website address, independent administrator account and password, as well as a new database name and site root directory, and select the template used by the site.These independent configuration items ensure that the new site has a high degree of autonomy from its creation.Once the new site is created successfully, it acts as an independent CMS instance, with its own complete content system.Articles, products, pages, categories, tags, as well as image resources and SEO settings can all be independently planned and operated on the back end of each site, truly realizing the independent management of content.

This independence is not only reflected in the background management, but also extends to the flexible display of front-end content.Each site can be bound to a unique template theme. This means that even if the content model is similar, different sites can present completely different visual styles and user experiences.For example, a site may focus on product display, with a simple and atmospheric interface style;And another site may focus on blog articles, with design layout paying more attention to the reading experience.The powerful template engine and tag system of AnQi CMS can fully support this customized requirement.

Further, during the template development process, the tag system of AnQi CMS provides strong control. For example, when you need to display specific content in a site template, almost all content tags (such as obtaining system configuration ofsystemLabel, obtain contact informationcontactLabel, obtain TDK informationtdkLabel, and obtain article listarchiveListcategory list ofcategoryListSingle page listpageListLabel listtagListThe linklinkListsuch assiteIdThe parameter. By specifying the tag insiteIdYou can accurately retrieve data from the target site, whether it is to implement cross-site data references or ensure that the content of this site is displayed independently, it becomes very skillful.This brings great convenience and flexibility to multilingual content marketing and data integration.

To help you understand more intuitively, we take the example of deploying an AnQi CMS on the Baota panel using Docker and adding a new site: First, you will install an AnQi CMS Docker container on the Baota panel and expose it by default on some port (such as 8001). Then, for your first main site, you will create a reverse proxy through the Baota website management feature, redirecting your main domain (such aswww.yourmaindomain.com) point to127.0.0.1:8001. Next, when you need to add a new site, such as a sub-brand websitesub.yourmaindomain.com, you will add a new reverse proxy for it on the Baota panel, pointing to the same location127.0.0.1:8001. At this point, both domain names point to the same AnQi CMS container.The most critical step is to log in to the AnqiCMS backend, click "Add New Site" in "Multi-site Management".Here, you will fill insub.yourmaindomain.comThe domain, and specify a new "site root directory" (for example/app/sub_yourmaindomain_com), and a unique "database name" (for examplesub_yourmaindomain_com)。From the perspective of AnqiCMS, although these two domain names are served by the same Docker container, they are completely independent in data storage and management.

The multi-site management function of AnQi CMS undoubtedly brings great convenience and efficiency improvement to users who need to operate multiple independent sites.It simplifies complex management tasks into unified platform operations, while also ensuring the complete independence and customization of content across sites, helping you to operate smoothly across multiple channels and easily handle various business scenarios.

Frequently Asked Questions (FAQ)

  1. What is the difference between 'a single system manages multiple sites' in AnQiCMS and 'installing multiple AnQiCMS instances on the server'? Answer:These two have an essential difference. "A system manages multiple sites" means thatA secure CMS running instanceIn, through its built-in multi-site functionality, manages multiple logically independent websites.These websites share a core program code, but are independent in database, file storage, and background management, coordinated by the same CMS system.That "installing multiple AnQi CMS instances on the server" means that you have deployed multiple copies of the AnQi CMS program on the server, each copy is a completely independent CMS, they are not associated with each other, need to be maintained and managed separately, and usually each instance needs to occupy a different port.The multi-site management function of AnQi CMS aims to improve efficiency and reduce maintenance costs.

  2. Ask: Does the Anqi CMS support referencing content from another site? Answer:Yes, AnQi CMS's template tag system provides powerful cross-site data call capabilities. Almost all content-related tags (such asarchiveList/categoryList/pageList), as well as system information tags (such assystem/contactSupporting, all of themsiteIdParameters. This means that you can specify the target site in the template of the current site,siteIdTo flexibly call and display content or configuration information published by other sites, thus realizing content reuse and integration.

  3. Why is it emphasized to maintain the independence of the database name and site root directory when creating a new site? How are these data isolated? Answer:Emphasize the independence of the database name and site root

Related articles

How to set custom thumbnails and display them for documents and categories in AnQi CMS?

In content operation, an attractive thumbnail often determines whether a user clicks to view the full content. It is not only the 'facade' of the content but also an important element in improving the visual effects of the website and the search engine friendliness.AnQi CMS is a powerful content management system that provides a flexible way for you to set custom thumbnails for documents and categories, and can be easily displayed on the front page, thereby effectively enhancing the attractiveness of your content.Next, we will delve into how to implement this feature in Anqi CMS.### The Importance of Thumbnails

2025-11-08

What image processing methods does AnQi CMS support to optimize front-end display?

In today's website operation, images are not only an important part of content presentation, but also a key factor affecting the loading speed of the website and user experience.If image processing is not done properly, it may lead to slow page loading, which in turn can affect search engine rankings and user retention.AnQiCMS (AnQiCMS) fully understands this, therefore it has built-in a variety of practical image processing features to help us easily optimize the front-end display and improve website performance. ### Smart Thumbnail Generation and Fine Management AnQi CMS provides a very flexible thumbnail processing mechanism.When we upload images

2025-11-08

How to customize the URL static rules of AnQi CMS article pages to optimize SEO display?

In website operation, a clear and search engine-friendly URL address not only improves user experience but is also a key link in website SEO optimization.AnQiCMS (AnQiCMS) fully understands this and therefore provides a flexible and versatile custom static URL feature to help users easily create article page links that comply with SEO practices.### Overview of Anqi CMS's SEO-friendly URL capability SEO-friendly URL technology, as the name implies, is to make dynamic pages look like static pages with fixed and meaningful URLs

2025-11-08

How to configure and display SEO TDK information on the homepage of AnQi CMS?

In website operation, Search Engine Optimization (SEO) is the key to improving website visibility and attracting natural traffic.And TDK (Title, Description, Keywords) information, as the "business card" of website content on the search engine results page (SERP), its configuration rationality directly affects the user click-through rate and the search engine ranking performance.For users using AnQiCMS (AnQi CMS), the system is built with intuitive and powerful TDK configuration features, making homepage SEO optimization simple and efficient.###

2025-11-08

How to call and display contact information on the Anqi CMS template?

It is crucial to clearly and conveniently display contact information on the website.To ensure accurate contact information is crucial for customer inquiries, cooperative negotiations, or enhancing brand trust.AnQiCMS as a content management system fully considers this requirement and provides an intuitive and flexible way to manage and call the contact information of the website. ### Backend Contact Information Setup Firstly, all contact information that needs to be displayed must be configured uniformly in the AnQiCMS backend. This ensures consistency of information

2025-11-08

Does AnQi CMS support Markdown content rendering, and how to enable and display mathematical formulas and flowcharts correctly?

Today, with the increasing diversity of content creation, effectively presenting rich text content, especially professional information that includes mathematical formulas and flowcharts, has become a need for many website operators.AnQiCMS (AnQiCMS) is an efficient content management system that also fully considers this point.This article will delve into whether Anqi CMS supports Markdown content rendering, and how to enable and correctly display mathematical formulas and flowcharts within it, helping you easily master these advanced content forms.

2025-11-08

How to display breadcrumbs navigation and customize the homepage name in Anqi CMS?

When using AnQiCMS to manage website content, breadcrumb navigation is an important component for improving user experience and search engine optimization (SEO) effectiveness.It clearly displays the current page's position in the website structure, helping users understand the website hierarchy and easily backtrack to the parent page.Benefiting from AnqiCMS's flexible template engine and rich built-in tags, it is very simple to implement breadcrumb navigation and personalized customization.What is breadcrumb navigation? Breadcrumb navigation (Breadcrumb

2025-11-08

How to implement pagination functionality and control the number of page numbers displayed on the list page of AnQi CMS?

When building a website list page, a good pagination experience is the key to improving user satisfaction and website performance.AnQi CMS understands this and provides intuitive and powerful tags to help us easily implement pagination on list pages, while flexibly controlling the display quantity of page numbers. ### Core Function Analysis: List Data and Pagination AnQi CMS achieves list pagination mainly by coordinating the use of two core tags: `archiveList` and `pagination`.

2025-11-08