Websites, Domains, SSL, Cache, and CDN

Manage the running status, domains, certificates, cache, logs, and real visitor IPs of WordPress or generic PHP websites.

Create and Manage Websites

Creating a website will simultaneously generate an independent system user, website directory, PHP-FPM, Nginx configuration, and database. Pausing a website only stops external access and does not delete files or the database.

If you recreate the original old domain after changing the primary domain, the panel will automatically select non-conflicting names for internal resources such as system users, databases, PHP-FPM, and Nginx during creation, preventing false conflict reports caused by residual old internal resources. If a conflict occurs with the domain, alias, website directory, or log directory itself, creation will still stop and prompt you to resolve it.

Deletion and reinstallation are high-risk operations. WordPress reinstallation will recreate files and the database, which is not equivalent to a version upgrade that preserves content.

  • In the website list, hovering over a row highlights the entire row, making it easier to scan columns such as monitoring, SSL, and backups along the row when there are many websites.
  • „Monitoring“ is split into two independent columns: Online Monitoring shows the HTTP reachability monitoring toggle; Anomaly Monitoring shows a toggle for WordPress websites and „Not Applicable“ for generic PHP websites. The configuration entry point and operation remain unchanged.
  • When the website details save the runtime monitoring toggle or interval, the panel confirms that the database write actually succeeded; if the website does not exist or saving fails, a clear error is reported instead of a false success.
  • When creating a website, if confirming the primary group fails after the new system user is created, the panel cleans up the account created in this operation and reports the actual result; if creating the system user itself fails, an account with the same name that may be managed externally is not deleted.
  • Deleting a website first saves a „deleting“ status before starting to delete actual resources; if the status fails to save, deletion will not begin. If final record cleanup fails or the process is interrupted, the website will not continue to appear as a normal website; after troubleshooting, you can click delete again to finish the cleanup. Deletion also cleans up custom Nginx snippets hosted by the panel (primary domain.pre.conf and .conf); if a snippet is not a regular file or cannot be cleaned up, the deletion result will prompt for manual inspection. Backup file retention rules remain unchanged.

Create a WordPress site from a backup

On the source site, usethe WP PANEL Backup pluginto generate a backup, then open 「Site Management → Create Site → Create Site from Backup」 in the target panel. This applies to a standard single WordPress site. The target retains the original primary domain and HTTP or HTTPS protocol; restoration stops if the primary domain or an alias is already in use. You can upload a backup file or use the restore link generated by the plugin. For the steps, seeRestore a new site from a backup。

When the primary domain is a publicly registered domain or its direct www form, the panel suggests the other form as an alias. For example, example.com suggests www.example.com, and vice versa. Other subdomains are not added automatically. You can edit or clear the suggestions line by line; saved selections are shown when resuming or retrying.

Switch DNS and request certificates

You can switch DNS during upload to reserve resolution time so that a certificate can be requested automatically for an HTTPS site when restoration completes. If DNS points to the target server in advance, visitors may be temporarily unable to access the site before it is created; a maintenance page is shown during restoration. Alternatively, restore first and then switch DNS. The primary domain and each alias must each point to the target server.

When the source site uses HTTPS, the panel attempts to request a formal certificate. If issuance fails because DNS has not yet taken effect or for other reasons, the primary domain can use a temporary certificate first. The restoration result lists the domains not yet covered by a formal certificate. After DNS takes effect, request one manually under SSL Management in the site details. When the source site uses HTTP, restoration is published over HTTP.

After restoration completes, open the site homepage and the WordPress login page to check. If a blank screen or error occurs, open the PHP error log from the restoration result to troubleshoot.

Domains and Document Root

  • After modifying the primary domain or aliases, check DNS, SSL, and the WordPress site address.
  • Document Root is only used for projects that explicitly need to serve web pages from a subdirectory; currently, the project root directory andpublictwo entry points are supported.
  • Custom Nginx configurations must remain syntactically valid. If the syntax passes but Nginx reload fails, the panel restores the snippet from before saving and clearly reports the failure; if restoration also fails, it prompts you to check the Nginx service and does not show „Saved and applied“.

Modify primary domain

Before changing the primary domain, the panel first checks for directory and configuration conflicts related to the new domain. The switch synchronously migrates the website directory, logs, certificates, local backups, associated plugin identities, and custom Nginx rules; on failure, completed steps are rolled back, and items that were not fully restored are clearly indicated. The panel does not automatically reissue SSL for the new domain, nor does it copy entire site files. If a custom Nginx snippet for the new domain already exists, the panel will refuse to overwrite it even if the old site has no corresponding snippet, and will prompt you to first verify the ownership of the residual snippet.

Failure protection for modifying aliases and entry directories

Failure prompts for these operations reflect the actual result and do not result in „partial success“:

  • When only modifying aliases: if the database save fails, Nginx is not changed; if applying to Nginx fails, the original alias is automatically restored; if the alias has been updated by other changes while queued, the overwrite is rejected; if restoration fails, a prompt is shown to check manually.
  • During migration of a generic PHP website, the panel refuses to modify the web entry before creating thepublicdirectory or adjusting permissions; if the database save fails, Nginx is not changed, and if applying to Nginx fails, the original entry state is restored.
  • If saving the access log mode (Off, Anomalies Only, Log All) fails, success is not falsely reported: if the database save fails, Nginx is not changed; if applying to Nginx fails, the original mode is restored; if restoration fails, a prompt is shown to check manually. Log rotation settings remain unchanged.

Operational boundaries for suspending a website

While a website is suspended, modifying the domain, document root, manual SSL, access log mode, or per-site CDN Real IP prompts you to enable the website first; if suspending or enabling fails, the original running state is restored: if saving the database state fails, Nginx is not changed; if Nginx fails, the original state and links are restored; if restoration is incomplete, a prompt is shown to check manually. A migrated source site continues to use a separate restore action.

SSL Certificates

Supports application, manual replacement, deletion, download, and automatic renewal. When using a CDN, the browser sees the CDN certificate, while the origin server certificate is still used for CDN origin-pull connections.

If automatic renewal fails, first check the brief reason in the prompt. When using a proxy like Cloudflare, also check whether the ACME validation path can reach the origin server; if automatic issuance is not possible, you can manually upload a certificate.

  • Only certificates automatically requested by the panel are auto-renewed; manually uploaded certificates are not overwritten by Let's Encrypt. Renewal failures show a summary of the entire batch's failures.
  • When manually enabling or replacing a certificate, the panel first saves the panel state and then applies it to Nginx; if saving fails, Nginx is not changed; if applying to Nginx fails, the original state and original certificate are restored; if restoration fails, a prompt is shown to check manually.
  • Deleting SSL is rejected when it conflicts with same-site maintenance or website migration; if the database or HTTP switch fails, the certificate is not deleted and the panel state is restored. If only the cleanup of old certificate files ultimately fails, a clear prompt is shown: „SSL is disabled but files were not cleaned up“.
Private keys are sensitive information. Only enable certificate export when a companion plugin truly needs to sync certificates, and do not include private keys in support requests.

FastCGI Cache

Sites can enable page caching, set a validity period, and manually clear it. After enabling, do not install another WordPress page caching plugin simultaneously to avoid two layers of cache interfering with each other.

  • 404 pages use a shorter cache to reduce repeated PHP execution for invalid requests.
  • When a normal cache expires, visitors can see the old page first, and the server refreshes the content in the background.
  • Common ad tracking parameters do not generate a separate cache copy.
  • Generic PHP websites will more strictly adhere to the program„s “no-cache„ directives to avoid caching login states or personalized content.

When saving the FastCGI toggle, valid time, or clearing the cache, the panel waits until Nginx has actually applied the change successfully before reporting success; if applying fails, the old cache settings or cache identifier are restored and a clear error is reported. Other already-successful items in the WordPress combined settings remain unchanged, and cache failures are explained separately.

Redis object cache and FastCGI page cache serve different purposes and can be used together as needed. If the page still shows old results after code updates, first clear the website cache, and if necessary, clear OPcache in Software Management.

CDN Real IP Mode

Strict mode only trusts the selected CDN's origin-pull IPs and is the recommended method. CDNs that provide trusted origin-pull IP ranges should use strict mode.

Generic CDN (compatibility mode) is suitable for services that cannot obtain fixed origin-pull IPs. It accepts visitor IP information carried by all connections, which is less secure than strict mode and cannot be enabled simultaneously with strict CDN groups.

If the origin server can be accessed directly, visitor IPs in compatibility mode may be spoofed. Only enable it when strict mode is unavailable and you understand the risk.

Access Logs

You can choose to log only errors, simplified access logs, or full access logs, and set a retention period. Logs will retain both visitor addresses and actual connection sources to facilitate CDN configuration troubleshooting.

AI Development Access

You can temporarily enable 「AI Development Access」 for a specific website, allowing AI coding tools to connect to this website through a secure channel for development, troubleshooting, or modifications. The authorization applies only to this website and does not affect other websites.

  • Once enabled, a 「connection package」 will be generated, containing the connection script and a one-time private key. It can only be downloaded once, so please store it securely.
  • AI tools can read and write the website's files and database, but cannot use sudo to manage the entire server.
  • Downloading the connection package again will automatically rotate the key, and the old key will become invalid immediately.
  • After finishing, promptly disable the authorization. The panel will revoke the key and disconnect existing connections.

Server SSH public key authentication check

When enabling AI development access or regenerating the connection package, the panel first checks whether the current server allows SSH public key authentication. If this setting is disabled on the server, the connection package may be generated successfully but login will fail.

  • When disabled is detected for the first time, the panel will not create site authorization or modify the SSH configuration; please read the server-level impact description on the page first.
  • After explicit administrator confirmation, the panel backs up the SSH configuration, enables only public key authentication, performs a syntax check, a safe reload, and a configuration effectiveness recheck, then continues with this AI authorization or credential rotation.
  • This fix affects the server-wide SSH login policy. Existingauthorized_keysaccounts (including root whenPermitRootLoginis allowed) may regain public key login capability, but the panel will not create login keys for other accounts.
  • If the fix fails, the original configuration is restored and this operation is blocked; if the SSH environment cannot be safely checked, the page prompt must be addressed first, and the check cannot be bypassed to continue enabling.
While authorization is enabled, operations that may disrupt the development environment, such as deletion, reinstallation, domain modification, or database restoration, will be rejected. If you need to perform these operations, please disable AI Development Access first.

After downloading and extracting the connection package, run the connection script inside to connect your AI tool to the website. The script will automatically handle access permissions, no manual configuration required.

Connection package and server handover document

Each new connection package includes and pins the server SSH identity, so no fingerprint needs to be saved in advance when using a new computer; connections are rejected if the SSH identity does not match. The handover document in the server home directory is the latest source of truth, capabilities, and boundary guidelines for this website, and it is automatically refreshed after the panel is updated and restarted; if the instructions in an old connection package conflict with the server handover document, the server document takes precedence. The handover document also lists the locations of this site's logs and the read-only PHP-FPM/Nginx managed configuration, to avoid misjudging site limits with command-line PHP or global configuration. The connection package does not dictate how your AI tools handle Git, planning, or authorization; the development approach is up to you.

WP-PANEL-CAPABILITIES 能力文档

连接后,服务器上还有一份按需读取的 WP-PANEL-CAPABILITIES.md,列出 WP Panel 面向站点的公开能力和入口。AI 在涉及服务器配置、优化、排障、安全、备份、SSL、更新、迁移、日志、PHP/Nginx、数据库或计划任务时,应先读取该文档并用面板的准确入口操作,不要套用其他面板或通用 LEMP 的做法。能力存在不代表当前站点已经启用或配置了它;有文档未覆盖的需求,可以向 WP Panel 项目反馈。

WordPress Managed Email

WordPress sites can send low-frequency transactional emails through the external SMTP configured in WP Panel, such as password resets, account notifications, and form alerts. The SMTP host, account, and authorization code are stored only in the panel and are not delivered to the site.

  • The server administrator first authorizes the current site in „Site Details → WordPress Managed Email“; the site administrator then confirms in „WP Panel Optimizer → Managed Email“. Both confirmations are required.
  • Only when the panel has authorized it will the WordPress admin display the Managed Email tab and the „Settings“ sidebar entry; when the panel status is unavailable, they are hidden by default. Sites that have already enabled it will still retain a recovery entry to disable takeover.
  • The site administrator can set the default sender name and Reply-To; if the server administrator locks the sender name, it can only be viewed in the plugin and the lock cannot be bypassed.
  • „Send Test Email“ will use the real managed SMTP path, count toward the site and server-wide quotas, and be logged in the site„s logs like a normal email. A successful test only means the SMTP provider has accepted it, not that it will necessarily reach the inbox.

Email Logs and Privacy

Logs are stored in the current site„s own WordPress database. The list records time, status, subject, and recipient; clicking “View„ will display in a popup the sender name, To/CC/BCC, Reply-To, Message-ID, duration, size, attachments, custom email headers, a sanitized HTML preview, and the full escaped original text. Viewing the body requires a dedicated permission and records the viewer and time.

The full body may contain verification codes, password reset links, or personal information. By default, a maximum of 250 entries and 7 days are retained; the site administrator can shorten the retention period, reduce the number of entries, or disable body storage. Panel-managed database backups and cross-panel migrations exclude the email log table by default.

Limitations and Failure Behavior

  • Suitable only for low-frequency transactional emails, not for marketing bulk sends; there is no persistent queue, automatic retry, bounce handling, or final delivery tracking.
  • If managed sending fails after it starts, it will not silently fall back to PHP mail; please handle the issue based on the logs and panel prompts before sending again.
  • When a known third-party SMTP plugin is detected, takeover is paused. After removing the conflicting plugin, the old conflict status will be cleared, but it will not automatically re-enable; the site administrator still needs to confirm again.
  • WordPress Multisite is not currently supported.

After pausing a site, which tasks will continue to run?

Pausing a site will not delete site data, nor will it disable existing task policies. Tasks already started will continue to completion; after re-enabling the site, deferred tasks will naturally resume from their next scheduled cycle, without concentrated catch-up runs.

  • Deferred:尚未开始的自动数据库备份、自动文件备份、WP Cron、以该站点用户运行的自定义命令、远程备份后台维护,以及 SSL 自动续签。
  • Continue:安全维护和 WordPress 库存刷新。

暂停期间面板不会尝试自动续签 SSL;重新启用时,如果证书已过期或 30 天内到期,面板会提示管理员处理,但不会擅自申请。手动上传的证书不受自动续签影响。

Pausing is not a backup, nor is it maintenance authorization; before important operations, you should still separately create and verify backups.

What should I do if enabling or disabling AI development access fails on a high-traffic site?

When force-enabling, the panel will handle the continuously regenerating PHP processes for this site and display a processing status for the entire region. When disabling, it will first revoke the SSH key and terminate authorized sessions; if this site's PHP workers still briefly occupy the system user, the panel will only gently terminate this site's workers with limited retries, and will not stop the PHP-FPM master process or affect other sites.

Please wait for the page to display the final success or failure result, and do not repeatedly click. If it still fails after reaching the retry limit, check the server status according to the page error message and try again; other types of errors may fail directly, and forced operations are not guaranteed to succeed.