As an experienced website operations expert, I am well aware of the importance of efficiently managing multiple websites for corporate brand building and content marketing in the increasingly complex online environment.AnQiCMS (AnQi Content Management System) boasts exceptional performance and rich features, making it an ideal choice for many small and medium-sized enterprises and content operation teams.Today, let's delve into how the Anqi CMS can help you easily create and manage multiple independent websites.

AnQiCMS multi-site management: The core capability of building an efficient content matrix

This multi-site support user value is evident: whether you have multiple independent brand websites, need to create independent sub-sites for different product lines, or want to set up temporary pages for specific marketing activities, Anqi CMS can provide support.It allows you to centrally manage these content sites within the same system, realizing optimized resource configuration and content scheduling, thereby avoiding redundant work and promoting data sharing and resource integration across sites.

The practice of creating and managing multiple independent websites

Now, let's go step by step to reveal how to create and manage these independent websites in the Anqi CMS.The entire process can be divided into two major parts: server configuration and CMS backend operation.

Step 1: Set up the safe CMS basic environment and configure server reverse proxy

Firstly, you need to install and run an instance of a secure CMS on the server.This is usually done through Docker or direct deployment.127.0.0.1:8001.

Next, in order to add a new independent website, the key is to prepare an independent domain name for each new website and configure the corresponding reverse proxy.In your server panel (such as Baota panel), you need to add a website for each new domain and configure it as a reverse proxy.http://127.0.0.1:8001. The server's reverse proxy will become a "traffic hub" that aggregates traffic from different domain names to the same secure CMS application.

An example of a Nginx reverse proxy configuration, which forwards all requests to the AnQiCMS instance running on port 8001:anqicms.comornewsite.comAll requests to:

server {
    listen 80;
    server_name anqicms.com newsite.com; # 添加所有需要由AnQiCMS管理的域名

    location @AnqiCMS {
        proxy_pass http://127.0.0.1:8001;
        proxy_set_header   Host             $host;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
    }
    error_page 404 =200 @AnqiCMS;
    location / {
       try_files $uri $uri/index.html @AnqiCMS;
    }
}

Please note that the above configuration includesserver_namethe field will contain all the domains you wish to be managed by this security CMS instance.

Step 2: Create and configure a new site in the security CMS backend

The server-side configuration is complete, you need to log in to your security CMS backend management interface, and use the "Multi-site Management" feature to create and configure new independent sites.

  1. Visit multi-site management:Log in to the admin panel of your first CMS website, you can usually find the "Multi-site Management" or similar feature entry in the left menu.
  2. Add a new site:Click the "Add New Site" button, and the system will pop up a form requiring you to fill in all the detailed information of the new website.
    • Site Name:Choose a name for your new website that is easy to recognize, which is usually for convenient backend management and differentiation.
    • Site root directory:This is a key setting.To ensure that each website's data and cache are stored independently, you need to specify an independent root directory for the new site./app/Start with, and combine it with the domain name for naming, such as/app/dev_anqicms_comIf it is not deployed using Docker, it is usually/www/wwwroot/under a new directory. Make sure that this directory exists on the server and is unique.
    • Website address:Enter the complete access domain name of the new website, for examplehttp://dev.anqicms.com. This must be consistent with the domain name you have configured in the server reverse proxy.
    • Administrator account password:Set up an independent backend management account and password for the new site. This means that even with multiple sites, the management permissions of each site are strictly separated.
    • Database name:Similarly, each independent site needs a separate database. It is recommended to use a unique name related to the domain name, such asdev_anqicms_com, where the.will be replaced with_。English CMS will create all necessary data tables for the new site in this database.
    • Database information reuse:If your security CMS instance has the permission to manage the database (usually this is the case for Docker deployment), you can choose to reuse the default database account information to simplify the configuration.Otherwise, you need to fill in the independent database connection information.
    • Select the template you want to use:You can select a default template for the new site.Auto CMS supports independent template customization, even allowing you to choose different template types (adaptive, code adaptation, PC + mobile independent) according to business needs.
  3. Confirm creation:After filling in and checking all the information, click "OK" to complete the creation of the new site. Auto CMS will automatically initialize site data in the new database and complete the necessary configuration.

Now, your second (or more) independent website has been successfully created.You can directly enter the backend of the new website for content publishing, SEO optimization, template adjustment, and other operations by clicking the "Access Backend" button in the multi-site management list.

The key considerations for multi-site operation

In the multi-site environment of AnQi CMS, the following points are especially worthy of attention during the operation process:

  • Complete data isolation:Each website has its own database and file storage space, which means that the data of one site will not be confused with that of another, ensuring the purity of content and data security.
  • Unified entry, independent management:Although all sites are operated through a single secure CMS application instance, each site has its own independent