How to customize the backend domain name of AnQiCMS v2.1.1 to improve security?

Calendar 👁️ 77

As a website operator who is well-versed in AnQi CMS, I am well aware of the importance of website security for content operation.In the ever-changing Internet environment, any bit of security negligence may lead to incalculable losses.AnQiCMS is a corporate-level content management system that focuses on security. The custom backend domain feature introduced in version v2.1.1 is to further strengthen the security protection of the backend management interface, making your website operation more reassuring.

Why is it crucial to customize the backend domain for security?

In website operation, the security of the background management interface is the core of the overall website security. Many content management systems have default background access paths that are open and easy to guess, such as/admin//backendor/systemThis predictability provides an easy entry for malicious attackers and automated scanning tools, who can attempt brute force attacks, find vulnerabilities, and thereby steal data or destroy websites.

By customizing the backend domain, you can redirect the backend entry from a common, predictable URL path to a completely independent and unrelated domain.This is like setting up a secret entrance for your management office instead of using the main entrance that everyone knows.It greatly increases the difficulty for attackers to find the backdoor, providing an additional 'invisibility' protection for your website management interface, thereby effectively improving the overall security of the website.

Custom backend domain feature in AnQiCMS v2.1.1

AnQiCMS has officially introduced the custom backend domain feature in its v2.1.1 version.This update aims to provide users with more flexible and secure backend management options, reflecting the AnQiCMS team's continuous attention and investment in system security.By simple configuration, AnQiCMS users can now easily distinguish the background access path from the front-end, enjoying a higher level of security protection.

Detailed steps to implement custom backend domain in AnQiCMS v2.1.1

To enable and configure the AnQiCMS custom backend domain feature, you need to complete the following key steps:

Step 1: Parse the new backend domain

Before starting the AnQiCMS internal configuration, you need to select a separate domain name or subdomain for your backend management interface, for exampleadmin.yourdomain.comorcms.yourdomain.net. Choose a domain that is not directly related to the front-end business to further improve security.

After selecting a domain name, please go to your domain registrar or DNS service provider's management interface and point this new domain or subdomain to the IP address of the server where AnQiCMS is deployed.Generally, this involves adding an A record. Ensure that the DNS record has been correctly activated and completed its global propagation, which may take a few minutes to a few hours.

Step 2: Configure the Web server reverse proxy.

Whether you use Nginx or Apache as your web server, you need to configure a reverse proxy to correctly forward all requests sent to the new backend domain to the port where the AnQiCMS application is actually running (AnQiCMS is running by default on8001Port).

Nginx Server Configuration Example:

In your Nginx configuration file (usually located in/etc/nginx/conf.d/or/etc/nginx/sites-available/directory under some.confFile), add a new one for your new backend domainserverBlock. Please replace it with your actual backend domain and configure an SSL certificate as needed to enable HTTPS.admin.yourdomain.comReplace it with your actual backend domain, and configure an SSL certificate as needed to enable HTTPS.

server {
    listen 80; # 监听HTTP请求,建议重定向到HTTPS
    server_name admin.yourdomain.com; # 替换为您的后台域名

    # 可选:将所有HTTP请求重定向到HTTPS
    # return 301 https://$host$request_uri;
}

server {
    listen 443 ssl; # 监听HTTPS请求
    server_name admin.yourdomain.com; # 替换为您的后台域名

    # SSL 证书配置,请替换为您的实际证书路径
    ssl_certificate /path/to/your_ssl_cert.crt;
    ssl_certificate_key /path/to/your_ssl_key.key;

    location / {
        proxy_pass https://en.anqicms.com; # 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;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}

After saving the configuration, please make sure to restart the Nginx service to make the changes take effect.In the environment based on the Baota panel, you can find the Nginx configuration and restart options in the website management interface.

Apache server configuration example:

For the Apache server, you need to be in the virtual host configuration file (usually located in/etc/httpd/conf.d/or/etc/apache2/sites-available/Under the directory.confConfigure reverse proxy. First make suremod_proxyandmod_proxy_httpmodules are enabled.

<VirtualHost *:80> # 监听HTTP请求,建议重定向到HTTPS
    ServerName admin.yourdomain.com # 替换为您的后台域名
    # 可选:将所有HTTP请求重定向到HTTPS
    # Redirect permanent / https://admin.yourdomain.com/
</VirtualHost>

<VirtualHost *:443> # 监听HTTPS请求
    ServerName admin.yourdomain.com # 替换为您的后台域名

    # SSL 证书配置,请替换为您的实际证书路径
    SSLEngine on
    SSLCertificateFile /path/to/your_ssl_cert.crt
    SSLCertificateKeyFile /path/to/your_ssl_key.key

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyPass / https://en.anqicms.com/
    ProxyPassReverse / https://en.anqicms.com/

    <Directory />
        Options FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

After saving the configuration, please restart the Apache service to make the changes take effect.

The third step: Configure in the AnQiCMS backend

After the reverse proxy configuration of the web server is completed, you need to log in to the AnQiCMS admin dashboard. Please use the original backend access method (such asyourdomain.com/system/Log in.

After successful login, navigate to the left menu item "Background Settings", then click "Global Feature Settings".On this page, you will find a configuration item named "background domain address".Please enter the new domain name you parsed and used for reverse proxying (such ashttps://admin.yourdomain.comPlease fill in this field completely. Make sure to include the correcthttp://orhttps://prefix.

After saving this setting, AnQiCMS will recognize and start using this new backend domain as the entry point for its management interface.

Step 4: Test Access

After completing all the steps above, you should now be able to access your AnQiCMS admin panel via the new backend domain (for examplehttps://admin.yourdomain.com/) directly access your AnQiCMS admin panel.

To ensure safety has been effectively improved, it is recommended that you perform

Related articles

How to manage the AnQiCMS friendship links through the API interface?

As a website operator who deeply uses and is proficient with AnQiCMS, I fully understand the important role that friend links play in the website ecosystem.It is not only an indispensable part of SEO strategy, but also can effectively improve the weight and traffic of external links on the website, and it is also a bridge for maintaining good relationships between websites and promoting content intercommunication.

2025-11-06

How to configure and switch the default language package of AnQiCMS v2.1.1?

AnQiCMS v2.1.1 Default Language Package Configuration and Switching: A Detailed Guide AnQiCMS, as an efficient and flexible enterprise-level content management system, has added support for default language packages in version 2.1.1, which significantly enhances the system's adaptability in multilingual operating environments.This feature allows website operators to easily configure and switch the display language of the backend management interface based on the working language of the team or the main operating area.Understanding how to effectively utilize this feature is of great importance for improving daily operational efficiency and optimizing the management experience

2025-11-06

How to set up 301 redirect links for URL management in AnQiCMS v2.1.1?

As a senior AnQiCMS (AnQiCMS) website operator, I am well aware of the key role of URL management and SEO optimization in the success of a website.The 301 redirect link is an indispensable part of it, which can effectively solve potential traffic loss caused by content changes and website structure adjustments.Now, I will give you a detailed introduction on how to set up 301 redirect links for URL management in AnQiCMS v2.1.1.

2025-11-06

How to use the new model feature to create content in AnQiCMS v2.1.1?

As an experienced CMS website operation personnel in an enterprise, I know that content structure is crucial for attracting and retaining users.The 'Model' feature introduced in AnQiCMS v2.1.1 version is a leap forward in our content management work.It frees us from the traditional fixed content framework, giving the content structure unprecedented flexibility and customization, thus being able to meet the diversified needs of readers more accurately.

2025-11-06

How to use the new AnQiCMS v2.1.0 article and product Tag label feature?

Hello! As an experienced AnQiCMS website operator, I am very happy to deeply interpret the new article and product Tag tag function in AnQiCMS v2.1.0 version for you.This feature plays an important role in daily content operation and SEO optimization, helping us to organize content more flexibly and improve user experience.--- **AnQiCMS v2.1.0 Article and Product Tag Function Details: New Tool for Content Association and SEO Optimization** AnQiCMS v2.1

2025-11-06

How to import data via the AnQiCMS v2.1.0 article and product import API interface?

As an experienced website operations manager for AnQi CMS, I am well aware that efficient content management is crucial for the success of the website.AnQiCMS is continuously iterating and enhancing its functionality, aiming to provide users with a more convenient and powerful content management experience.The release of AnQiCMS v2.1.0 brings an exciting update: the addition of the article and product import API interface, which greatly enhances the flexibility of batch content processing and system integration.### AnQiCMS v2.1.0

2025-11-06

What conveniences does the new background management interface of AnQiCMS v2.1.0 bring?

As a website administrator who is deeply familiar with the operation of AnQi CMS, I have a deep understanding of the new backend management interface brought by AnQiCMS v2.1.0.This update is not just a visual innovation, but also a deep optimization of operational logic and functional integration, aiming to provide a more efficient and flexible working environment for content operators and website managers.AnQiCMS v2.1.0's new backend management interface is most directly reflected in its more intuitive user experience and smooth operation process.The task may have required jumping to multiple pages in the past

2025-11-06

How to operate the content batch replacement function of AnQiCMS v2.0.1?

As an experienced website operator familiar with AnQiCMS, I am well aware of the core status of content in website operation.Effective content management is not only about content production, but also about its flexible adjustment and optimization capabilities.AnQiCMS introduced the 'Batch Replacement of Article Content' feature in version v2.0.1, which is exactly to meet the urgent needs of operators in content maintenance and SEO strategy adjustment.This feature allows website administrators to perform global keyword or link updates to website content with great efficiency

2025-11-06