As a website manager who is well-versed in the operation of AnQin CMS, I fully understand the importance of efficient content management and multi-site operation for enterprises.The multi-site management feature provided by Anqi CMS is designed to meet this core requirement, allowing you to manage multiple independently operated websites within a single system, thereby significantly improving operational efficiency and optimizing resource allocation.
Deeply Understand the Multi-site Management Ability of Anqi CMS
The multi-site management function of Anqi CMS is one of its core highlights.It enables businesses 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 data sharing and resource integration across sites, providing a solid foundation for content marketing, SEO optimization, and even global promotion.
Preparation of Environment Before Adding a Site
Before adding a new website site in the AnQi CMS backend, it is usually necessary to configure some external environments to ensure that the domain name of the new website can be correctly pointed to your server and 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.This usually involves creating a website for the new domain and then forwarding the traffic to the main port of the running AnQi CMS.In the Baota panel, you can go to the "Websitehttp://127.0.0.1:8001。If you have deployed multiple security CMS instances in a Docker environment and used different ports, here you should fill in the port of the security CMS instance corresponding to the new website.
After completing the domain name resolution and reverse proxy settings, your server is ready to receive requests from the new website and forward them correctly to the AnQi CMS for processing.
In the Anqi CMS backend, add a new website site
Once the external environment is properly configured, you can log in to the default Anqi CMS backend and start adding a new website site.
Firstly, please go to the left navigation bar of the background, find and click on 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 information carefully:
FirstlySite NamePlease set a name that is easy to recognize 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 on the server for the new website, used to store the cache, static files, and other data for the site.To ensure the independence of each site and avoid conflicts, this directory must be unique./app/Start with, followed by replacing the dots in the domain name with underscores, for example/app/dev_anqicms_comIf your security CMS is directly deployed on a Linux server (non-Docker), you may need to specify something similar to/www/wwwroot/your_new_domainThe path. In any case, make sure that this directory name is unique and accessible on the server.
Then, you need to fill inWebsite address. Here should be the full access URL of the new website, for examplehttp://dev.anqicms.comPlease ensure that this address matches the domain name you previously set in the server environment configuration and includes the correct protocol (http or https).
To manage the new website, you need to set it up forAdministrator account and password. These will be the credentials you use to log into the new website's backend, please be sure to set a complex password with high security.
Database nameIt is also an important and unique field. The data of the new website will be stored in this independent database, and it is usually recommended to replace the dot in the domain name with an underscore when naming the database, for exampledev_anqicms_comEnsure that this database name is unique on your MySQL server to avoid data confusion or overlap.
AboutDatabase information reuseIf 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 'Reuse default database account information', so you do not need to manually fill in the database username and password.If you host the database of the new site on a different 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。English 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.
Carefully check all filled information for accuracy before clicking the "OK" button at the bottom of the form.The Auto 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
Station created successfully, you can access it viaWebsite addressVisit the homepage of the new site. To access the backend management interface of the new website, you can click the 'Visit 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/system/[for example]http://dev.anqicms.com/system/).
The new website site has been successfully added, and you can independently perform all operations such as content creation, editing, publishing, and optimization, just like managing the default site.The multi-site management feature of Anqi CMS allows you to maintain efficiency and flexibility when expanding your business and content coverage range.
Frequently Asked Questions
Q1: Why do you need to configure domain name resolution and reverse proxy before adding a new site in the security CMS backend?Configure domain name resolution and reverse proxy are the key steps to ensure that users can access the correct AnQi CMS instance through the new website's domain name.The domain name resolution directs your new domain to the server IP address of the hosting AqSafe CMS, while the reverse proxy is responsible for forwarding network requests from the 80/443 port of the domain name to the specific port (such as 8001) where AqSafe CMS is running. This way, different domains can point to different AqSafe CMS sites or services on the same server.
Q2: If my server is not deployed with Docker, how does Safe CMS handle the 'site root directory' under the multi-site mode?For non-Docker deployed security CMS, when adding a new site, the 'Site Root Directory' should point to the independent physical directory you created on the server for the new site. For example, if you in/www/wwwroot/An English name has been created for the new sitenewsite.comIf a directory with the name is created,/www/wwwroot/newsite.com. Additionally, you need to set the running directory of the new site to it in the server management panel (such as Baota panel)/publicSubdirectory, and configure Nginx or Apache reverse proxy or rewrite rules to point to the main program of the safe CMS.
Q3: Can I use a different template for each newly added 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 SiteEach site can have a completely different look and user experience without deploying multiple independent security CMS systems.