As a website manager who deeply understands the operation of Anq CMS, I am fully aware of the importance of efficient content management and multi-site operations for enterprises.The multi-site management feature provided by Anqi CMS is specifically designed to meet this core requirement, allowing you to centrally manage multiple independently operated websites within a single system, thereby significantly improving operational efficiency and optimizing resource allocation.

Comprehend the multi-site management capabilities of Anqi CMS

The multi-site management feature of Anqi CMS is one of its core highlights.It enables enterprises with multiple brands, sub-sites, or content branches to create and independently manage their respective content under a unified backend interface.This not only reduces repetitive work, but also promotes cross-site data sharing and resource integration, laying a solid foundation for content marketing, SEO optimization, and even global promotion.

Environmental preparation before adding a new site

Before adding a new website site in the Anqi CMS backend, it is usually necessary to configure some external environment settings to ensure that the new website's domain can correctly point to your server and be processed by Anqi CMS.This mainly involves domain name resolution and reverse proxy settings.

For example, if you are using Baota panel (or other similar server management tools), you need to add a reverse proxy for the new site in the panel.This usually involves creating a website for a new domain and then forwarding the traffic to the main port where the A-safe CMS is running.In the Baota panel, you can go to the "Website" menu, select "Reverse Proxy" and click "Add Reverse Proxy".In the configuration interface of the new site, you need to enter your new domain name and point the target URL to the port where the AnQi CMS is running, for examplehttp://127.0.0.1:8001. If you have deployed multiple Anqicms instances in the Docker environment and used different ports, here you should enter the port of the Anqicms instance corresponding to the new website.

After completing the domain name resolution and reverse proxy settings, your server is ready to receive requests from new websites and forward them correctly to Anqi CMS.

Add a new website site in the Anqi CMS backend

Once the external environment is configured, you can log in to the default Anqi CMS backend and start adding new website sites.

First, please go to the left navigation bar of the background, find and click the 'Multi-site Management' option.After entering the multi-site management page, you will see a 'Add New Site' button, click it to open the configuration form for the new site.

In this form, you need to fill in the following items carefully:

FirstlySite name. Please set a recognizable name based on the actual brand or purpose of the new website. This name will be used to distinguish different sites in the background list.

Next isSite root directory. This is a very critical setting that specifies the independent storage location of the new website on the server, used to store the cache, static files, and other data of the site.To ensure the independence of each site and avoid conflicts, this directory must be unique.If you are deploying AnQi CMS in a Docker environment, it is usually recommended to use/app/Start, followed by replacing the dots in the domain name with underscores, for example/app/dev_anqicms_com. If your security CMS is directly deployed on a Linux server (non-Docker), you may need to specify something similar/www/wwwroot/your_new_domainThe path. In any case, please ensure that this directory name is unique and accessible on the server.

Then, you need to fill inwebsite address. Enter the complete access URL of the new website, for examplehttp://dev.anqicms.comEnsure that this address matches the domain you previously configured in the server environment and includes the correct protocol (http or https).

To manage the new website, you need to set it upAdministrator account and password. This will be the credentials you use to log in to the new website's backend, please make sure to set a highly secure complex password.

Database nameIt is an important and must be unique field. The data of the new website will be stored in this independent database, it is usually recommended to use the form of replacing the dot in the domain name with an underscore to name the database, for exampledev_anqicms_comEnsure that this database name is unique on your MySQL server to avoid data confusion or overlap.

aboutDuplicate database informationIf you are installing AnQi CMS in a Docker environment and the Docker instance usually has full management permissions for the database, you can choose to "re-use the default database account information", so you do not need to manually fill in the database username and password again.If you host the database of the new site on another server or if the default database account permissions are insufficient, you need to uncheck and fill in the new database account information truthfully.

Finally, you needSelect the template to use. Anqi CMS supports multiple template switching, you can choose one from the installed templates according to the visual style and functional requirements of the new website.

Please carefully check all the information filled in and then click the "Confirm" button at the bottom of the form.AnQi CMS will start creating a new website for you.This process may take some time, please be patient.

Use and management of the new site

After the site is created, you can access it through itswebsite addressVisit the homepage of the new site. To access the admin interface of the new website, you can click the 'Access Backend' button next to the new site in the multi-site management list, or directly enter the domain name of the new site in the browser and add it on the end./system/for examplehttp://dev.anqicms.com/system/)

Your new website has been successfully added, and you can independently carry out all operations such as content creation, editing, publishing, and optimization like managing the default site.The multi-site management function of Anqi CMS allows you to maintain efficiency and flexibility when expanding your business and content coverage.


Frequently Asked Questions

Q1: Why do you need to configure domain resolution and reverse proxy before adding a new site in Anqi CMS backend?Configure domain name resolution and reverse proxy is the critical step to ensure that users can access the correct security CMS instance through the new website domain.The domain resolution points your new domain to the IP address of the server hosting the Aqin CMS, while the reverse proxy is responsible for forwarding the network requests of the domain from the server's 80/443 ports to the specific port (e.g., 8001) where the Aqin CMS is running, so different domains can point to different Aqin CMS sites or services on the same server.

Q2: How does AnQi CMS handle the "site root directory" under multi-site mode if my server is not Docker deployed?For non-Docker deployments of the AnQi CMS, when adding a new site, the 'site root directory' should point to the independent physical directory you create on the server for the new site. For example, if you are/www/wwwroot/A new directory named for the site was creatednewsite.comThen the root directory of the site should be filled in with/www/wwwroot/newsite.com. You also need to set the running directory of the new site to its/publicSubdirectory, and configure Nginx or Apache reverse proxy or rewrite rules to point to the main program running the safe CMS.

Q3: Can I use a different template for each new site?Yes, the multi-site management feature of AnQi CMS allows you to independently select and configure templates for each new site added.In the "Add New Site" form, there is an item "Select the template to use", you can choose one from the list of installed templates according to the design requirements of the new site.Each site can have a completely different appearance and user experience without the need to deploy multiple independent security CMS systems.