AnQiCMS: Easily manage multiple sites on the same server and achieve your brand matrix management in English
As an experienced website operations expert, I am well aware that in today's digital age, many enterprises and content creators may own multiple brands, product lines, or regional sites. How to efficiently and economically manage these content platforms is often a headache.Traditional methods may mean deploying a separate system for each site, which consumes a large amount of server resources and operational effort.However, AnQiCMS (AnQiCMS) provides a graceful and efficient solution to this challenge with its unique architecture and powerful multi-site management features.
Today, let's delve into how AnQiCMS can be installed and managed on the same server to host multiple sites, making it easy for you to build and operate your brand content matrix.
The advantages of the AnQi CMS multi-site management: say goodbye to repetitive work
One of the core advantages of AnQiCMS is its "multi-site management" capability.This is not just a simple multi-domain resolution, but a unified system that enables the creation of multiple independent sites, content publishing, user management, and even centralized control of SEO strategies.
- Improve operational efficiency:Say goodbye to the烦恼 of frequently switching between different systems, all content and data are at a glance, reducing repetitive work.
- Reduce operation and maintenance costs:No need to purchase servers independently for each site or deploy a complete CMS system. AnQiCMS can handle multiple sites with one system, saving hardware and labor investment.
- Promote resource integration:Facilitate cross-site data sharing, content reuse, or permission allocation, which helps to achieve a more macro content strategy.
- Flexibly meet business needs:Whether it's creating a new marketing campaign page, building a specific themed sub-site, or expanding multilingual content, it can respond quickly.
Auto CMS can achieve such efficient multi-site management because it does not require you to duplicate multiple program codes to run.Just the opposite, it is based on an AnQiCMS core program and presents multiple independent websites through intelligent configuration and routing mechanisms.This is like an intelligent building with multiple doors, each leading to a different independent space, but all of them are efficiently operated by a unified security and management system.
Guide on installing and managing multiple sites on the same server
Next, we will elaborate on how to install and manage multiple sites on the same server using the powerful feature of AnQiCMS.Here we take commonly used panel tools such as Baota Panel or 1Panel as examples, which can simplify most environment configurations.
Step 1: Prepare your AnQiCMS main site environment
Before you start configuring multiple sites, you need to ensure that you have successfully deployed an AnQiCMS instance as your main site.Whether it is deployed through Docker containers or directly installed on a Linux server, this main site will be the core hub for managing all other sites.8001port.
If you are using panel tools such as Baota, when deploying the main site, you need to configure reverse proxy for the domain, and forward the port requests to the port that AnQiCMS is listening on.80or4438001Port. Also, make sure that the 'runtime directory' under the main station website directory is set correctly./public.
Step 2: Configure domain and reverse proxy for the new site.
Now, let's add a new site. This process is mainly divided into two parts: the server level and the AnQiCMS backend level.
Server level domain name and reverse proxy configurationFirstly, you need to prepare a separate domain name for the new site (for example
sub.yourdomain.com) and make sure that the domain name has been correctly resolved to your server's IP address.Next, create a 'Reverse Proxy' site for this new domain in your server management panel (such as Baota Panel or 1Panel).
Baota Panel operation:Choose [Website], click [Add Site], select "PHP Project" (This is just to make use of the Baota website management feature, and PHP will not actually run).When creating a site, enter your new domain name, keep the root directory default, choose not to create FTP and database, and select 'Static Only' for the PHP version. Site creation completed, click the 'Settings' button of the new site, and select the [Reverse Proxy] option.
http://127.0.0.1:8001. Finally, in the "SEO-friendly" tab, you need to add the SEO-friendly rules for Nginx (or Apache) for the new site.location @AnqiCMS { proxy_pass http://127.0.0.1:8001; # 请确保这里指向您AnQiCMS主站的实际端口 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; }If you are using Apache, enter the target URL in the "Reverse Proxy" section
http://127.0.0.1:8001And leave the "URL Rewrite" section blank.1Panel operation:Click the [Website] menu on the left, select [Reverse Proxy], and click [Create Website]. Enter your new domain name in the main domain field, and fill in the proxy address as well.
127.0.0.1:8001. No matter which panel is used, the key step is to ensure that the server's web service (Nginx/Apache) can correctly forward the requests for the new domain name to the running AnQiCMS main program.
Third step: Add a new site in AnQiCMS backend
Now, all traffic has been prepared to direct to your AnQiCMS core. Next, we will log in to the backend of the AnQiCMS main site to create