In today's diversified online environment, many enterprises and individual operators often need to manage multiple websites at the same time.These websites may represent different brands, product lines, or target different user groups and regions.How to manage and display the content of these sites independently under a unified framework while maintaining efficiency and flexibility is a challenge faced by many operators.Auto CMS (AutoCMS) provides an excellent solution for this need with its powerful multi-site management features.
One of the core strengths of Anqi CMS is that it allows you to manage multiple independent sites simultaneously through a single system.This is fundamentally different from the traditional model of one website with one CMS.Imagine that you do not need to build a new CMS for each new brand or project, maintain multiple environments, and deal with different upgrade cycles. Instead, all sites share a stable and efficient underlying architecture, which will greatly reduce operating costs and management complexity.
Firstly, although we say 'a system', in actual deployment, the security CMS cleverly implements logical isolation between sites.For example, using a common Docker deployment, you may only need to start an insecure CMS container and map it to a port on the server (e.g., 8001).www.brandA.comandblog.brandB.comIt points to the same port of this security CMS container.In 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 any interference, ensuring data security and purity./app/Start, such as/app/dev_anqicms_com, to distinguish different site data storage spaces.
Enter the Anqi CMS 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.In 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 like an independent CMS instance, with its own complete content system.Articles, products, pages, categories, tags, and even image resources and SEO settings can all be independently planned and operated on their respective site backends, 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 website may focus on product display with a simple and elegant interface style; while another website may emphasize blog articles with a design layout that pays more attention to the reading experience.The powerful template engine and tag system of Anqi CMS can fully support this customization 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 template of a certain site, almost all content tags (such as obtaining system configuration of thesystemTags, obtain contact informationcontactTags, obtain TDK informationtdkTags, and obtain article listarchiveListCategory listcategoryListSingle page listpageListTags list,tagListFriendship links,linkListetc.) all supportsiteIdParameters. By specifying the tags,siteIdYou can accurately retrieve data from the target site, whether it is to achieve cross-site data referencing or to ensure that the content of this site is displayed independently, it becomes very easy.This brings great convenience and flexibility to multi-site content marketing and data integration.
To help you understand more intuitively, let's take the example of deploying an AQS CMS and adding a new site using Docker on the Baota panel:
Firstly, you will install an AQS CMS Docker container on the Baota panel and expose it on a default port (such as 8001). Then, for your first main site, you will create a reverse proxy through Baota's website management feature, directing your main domain (such aswww.yourmaindomain.com)指向127.0.0.1:8001。
接着,当您需要添加一个新站点时,比如一个子品牌网站sub.yourmaindomain.com,您会在宝塔面板上为其添加一个新的反向代理,同样指向127.0.0.1:8001.At this moment, both of these domain names point to the same security CMS container.The most critical step is to log in to the security CMS backend and click 'Add New Site' under 'Multi-site Management'.sub.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)。Thus, from the perspective of AnQi CMS, although these two domain names provide services through 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 complete independence and customization of content across sites. This helps you navigate multi-channel content operations with ease and handle various business scenarios effortlessly.
Common Questions (FAQ)
问:What is the difference between 'One system manages multiple sites' in AnQi CMS and 'installing multiple AnQi CMS instances on the server'? Answer:These two have an essential difference. "A system manages multiple sites" meansAn instance of an enterprise CMS runningEnglish, manages multiple logically independent websites through its built-in multi-site feature.These websites share a core program code, but are independent in database, file storage, and backend management, coordinated by the same CMS system.The term 'installing multiple security CMS instances on the server' means that you have deployed multiple copies of the security CMS program on the server, each copy being a completely independent CMS with no association between them, requiring separate maintenance and management, and typically each instance needs to occupy a different port.The multi-site management feature of Anqi CMS aims to improve efficiency and reduce maintenance costs.
问:如果一个站点的内容需要引用另一个站点的内容,安企CMS 支持 English 吗? Answer:Yes, the template tag system of Anqi CMS provides powerful cross-site data calling capabilities. Almost all content-related tags (such as
archiveList/categoryList/pageList), as well as system information tags (such assystem/contactEnglish,all supportsiteIdparameters. This means you can specify the target site in the template of the current site,siteId,to flexibly call and display the content or configuration information published by other sites, thereby realizing content reuse and integration.问:When creating a new site, why is the independence of the database name and the site root directory emphasized? How are these data isolated? Answer:Emphasize the independence of the database name and the site root