Today, let's talk about how to find and properly configure the domain setting options in the AnQiCMS backend management interface, making your website management more convenient.
Why is it so important to customize the background domain?
Before delving into the settings, let's understand why customizing the backend domain is a worthwhile feature to configure. Typically, the default backend access path of CMS systems is fixed, such as/system/or/admin/.This "public" path is convenient, but it may also become a target for potential attackers.By customizing a unique backend domain, it can effectively improve the concealment of the backend entry and greatly enhance the security of the website.In addition, for users who operate multiple brands or sites simultaneously, assigning a dedicated domain name to each backend not only makes management clearer but also reflects a professional brand image.
Step 1: Access the AnQiCMS admin interface
First, you need to log in to the system through the default or currently known backend entry of AnQiCMS. If you are installing AnQiCMS for the first time, or have not customized the backend domain name yet, you can usually access the backend through the following address:
http://你的网站域名/system/orhttps://你的网站域名/system/
For example, if your website ishttp://test.anqicms.com/then the default access path on the backend ishttp://test.anqicms.com/system/. After successfully entering the administrator account and password, you will enter the AnQiCMS backend management homepage, which is the starting point for our configuration.
Step 2: Navigate to "Global Function Settings"
After logging into the AnQiCMS backend, you will see a series of function menus on the left.The various system-level configurations on the back-end, such as the website name, copyright information, and site address, are usually concentrated in an area named "Settings" or "System Settings".
In AnQiCMS, you need to look at the left navigation bar, find and click on“Background Settings”This main menu item. Click to expand and you will see several submenus, including our current goal -Global function settings. Click to enter this page, where you will see the basic configuration options required for the website to run.
Step 3: Find the 'Backend Domain Address' option and configure it.
In the 'Global Function Settings' page, you will find many configuration items related to the basic information and operation of the website. Please read carefully, and you will see an item named'Backend Domain Address'The input box. This option is the core of what we need to configure today.
This input box allows you to set a separate access domain for the AnQiCMS backend management interface. For example, if you want to access it throughhttps://admin.yourdomain.comVisit your AnQiCMS backend, then you need to fill in the input box herehttps://admin.yourdomain.com.
Here are several very important points to keep in mind:
- Domain resolution first:Before you fill in and save the new backend domain name, please make sure that this custom domain (such as
admin.yourdomain.com) It has been correctly resolved to your server's IP address. If the DNS resolution has not been completed or is not yet effective, you will not be able to access the backend through the new domain. - The server binding is indispensable:In addition to DNS resolution, your server (whether it is Nginx, Apache, or managed through Baota panel, 1Panel, and other tools) also needs to be properly configured to bind the new backend domain to the port where the AnQiCMS application is located. This means that the server needs to “know” when someone visits
https://admin.yourdomain.comWhen, the request should be forwarded to AnQiCMS for processing.If you are using Docker to deploy AnQiCMS and have set up reverse proxy, then the new backend domain also needs to be configured with the corresponding reverse proxy rules. - Use a complete URL:Ensure that you use the complete URL format, including the protocol header (
http://orhttps://) For example,https://admin.kandaoni.com. - Enhance security:Successfully set and activated, AnQiCMS will usually force all background access to be made through this new domain, thereby effectively avoiding the default
/system/The security risks that may be brought by the path, further protect your management backend.
After the configuration is completed, please click the bottom of the page.“Save”or“OK”Button, to ensure that your settings take effect. After saving, it is recommended to immediately try accessing the backend domain of the new configuration to verify if the configuration was successful.
Summary
Frequently Asked Questions (FAQ)
Q: After setting the new background domain, can the original one
你的域名/system/still access the background?A: Generally, once you have successfully set and saved a custom backend domain, AnQiCMS will, by default, prohibit access through the original/system/Access the backend. All management requests will be redirected to your newly set backend domain, or access will be denied directly, to ensure the uniformity and security of the backend entry.Q: How do I set up the backend domain according to the steps, but I cannot access the backend through the new domain?A: The most common reason for encountering this situation is an incorrect domain resolution or server (such as Nginx, Apache) binding configuration.First, please check your DNS provider's backend to confirm that the new domain has been correctly resolved to your server IP.
admin.yourdomain.com) Correctly bound and pointed to the AnQiCMS running port.If you have installed through Baota panel or 1Panel tools, please check the reverse proxy or domain binding settings of the corresponding site.config.json), temporarily remove or comment out the background domain settings, so that you can log in to the background through the default path for further troubleshooting and correction.Q: Will a custom backend domain affect the access to my website's frontend? Can my users still access my website content normally?A: Will not.The custom backend domain is completely independent from the front-end access of your website.The backend domain is used only for administrators to access and manage the AnQiCMS system itself, while your website's front-end domain (usually configured in the "Global Function Settings" under the "Website Address" item) is the address users use to access the content of your website.These do not interfere with each other, so your users can still access the website content normally without being affected by the backend domain change.