Cách dùng Staging Management của Cloudways (trang staging WordPress)

Môi trường thử nghiệm CloudwaysKiểm tra ngày 2026-10-19

Cloudways Staging Management cung cấp một môi trường tách biệt để thử code, plugin và theme mới mà không ảnh hưởng đến website WordPress đang chạy. Khi chọn cùng một server và tạo ứng dụng staging, danh sách ứng dụng có thêm một bản sao gắn nhãn Staging. Ngay cả với hosting cPanel, bạn cũng tạo được trang staging WordPress nếu đã cài Softaculous.

Khi tạo trang staging, bạn có một bản sao của website đang chạy. Khi đã sẵn sàng, chỉ với một nút bấm bạn có thể chuyển riêng phần đã thay đổi hoặc chuyển toàn bộ sang website đang chạy. Ngược lại, bạn cũng có thể kéo nội dung hiện tại của website đang chạy về staging để hai trang khớp nhau trước khi làm việc.

1️⃣ 4 ưu điểm của Cloudways Staging Management

Bạn giữ nguyên website đang chạy (live) mà khách truy cập thật, rồi thử sửa thiết kế và tính năng trước trên trang tập dượt (staging) được sao chép y hệt.

1. Trang được bảo vệ bằng mật khẩu

Khách thông thường hay công cụ tìm kiếm không nên vào được trang tập dượt, nên mặc định có cửa sổ đăng nhập (mật khẩu) chặn truy cập từ bên ngoài. Bạn có thể bật hoặc tắt khi cần.

2. Áp dụng chỉ với một cú nhấp

Khi chuyển các thay đổi làm trên trang tập dượt sang website thật, bạn không cần sao chép rồi dán từng thứ một; chỉ một cú nhấp nút là áp dụng xong.

3. Kiểm soát chi tiết (chọn phần cần chuyển)

Bạn có thể chuyển toàn bộ những gì đã làm trên trang tập dượt, hoặc chỉ chọn file web hay chỉ cơ sở dữ liệu để áp dụng cho trang thật.

4. Staging hỗ trợ SSL (kết nối bảo mật)

Trang tập dượt cũng được cài sẵn chứng chỉ bảo mật (https), nên bạn có thể thử nghiệm không lỗi trong điều kiện bảo mật giống hệt môi trường thật.

2️⃣ Cách dùng Cloudways Staging Management

Trong trang quản trị Cloudways, vào [My Applications] › ứng dụng › [Staging Management].

Bấm [Launch Staging Application] thì một cửa sổ mở ra để chọn server đặt ứng dụng staging.

Sau khi chọn server và bấm [Continue], màn hình chuyển sang danh sách server, và thẻ server hiện [Creating staging application].

Mở tab [Applications], ứng dụng staging có Staging- trước tên gốc nằm ở đầu danh sách.

🧭 Trình mô phỏng staging Cloudways
CloudwaysTrình mô phỏng đường dẫn
Cloudways
my-server › my-app
📍My Applications›my-app›Staging Management
Quản lý staging
[Staging Management] hiện nút [Launch Staging Application] để tạo môi trường staging cùng bốn tính năng.
📍My Applications›my-app›Staging Management›Launch Staging Application
Launch Staging Application
Bấm [Launch Staging Application] thì một cửa sổ mở ra để chọn server đặt ứng dụng staging.
📍My Applications›my-app›Staging Management›Select a Server
Chọn server
Trong danh sách, chọn [New Server] để tạo server mới hoặc server hiện tại (same server), rồi bấm [Continue].
📍Flexible›My Servers
Đang tạo
Màn hình chuyển sang danh sách server, và thẻ server hiện [Creating staging application]. Việc tạo mất khoảng 7–9 phút.
📍Flexible›My Applications
Đã tạo xong
Ứng dụng có [Staging-] trước tên ứng dụng gốc được thêm vào đầu danh sách, kèm nhãn [Staging].
unified.cloudways.com/apps/…
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Cloudways Staging gives you an isolated environment where you can test new code, plugins, themes without breaking your live site. Creating a staging site will create a copy of your live site. Once you are ready, you can push selective or complete changes to your live site with the push of a button. You can also pull from the live site to update your staging site in order to sync it before working on it.
Create a Staging EnvironmentYou can set up a staging environment in a few minutes.
Staging Management provide you the following benefits
Password Protected SitesBy default, htpasswd is enabled on your staging environment for maximum security. You have the option to disable the staging’s password protection.
SSH and SFTP AccessNo more manually copying changes from a test server to production. Effortlessly transfer changes between your live site and staging with a single click.
Granular ControlsHave precise control over the content and updates you want to transfer from staging to your live sites. Choose to transfer only files, only the database, or both.
SSL-Enabled StagingSSL certificates are pre-installed on all staging applications. You can use Let’s Encrypt certificate or your custom SSL certificate.
unified.cloudways.com/apps/…
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Cloudways Staging gives you an isolated environment where you can test new code, plugins, themes without breaking your live site. Creating a staging site will create a copy of your live site. Once you are ready, you can push selective or complete changes to your live site with the push of a button. You can also pull from the live site to update your staging site in order to sync it before working on it.
Create a Staging EnvironmentYou can set up a staging environment in a few minutes.
Staging Management provide you the following benefits
Password Protected SitesBy default, htpasswd is enabled on your staging environment for maximum security. You have the option to disable the staging’s password protection.
SSH and SFTP AccessNo more manually copying changes from a test server to production. Effortlessly transfer changes between your live site and staging with a single click.
Granular ControlsHave precise control over the content and updates you want to transfer from staging to your live sites. Choose to transfer only files, only the database, or both.
SSL-Enabled StagingSSL certificates are pre-installed on all staging applications. You can use Let’s Encrypt certificate or your custom SSL certificate.
Select a Server to Staging the Application
unified.cloudways.com/apps/…
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Cloudways Staging gives you an isolated environment where you can test new code, plugins, themes without breaking your live site. Creating a staging site will create a copy of your live site. Once you are ready, you can push selective or complete changes to your live site with the push of a button. You can also pull from the live site to update your staging site in order to sync it before working on it.
Create a Staging EnvironmentYou can set up a staging environment in a few minutes.
Staging Management provide you the following benefits
Password Protected SitesBy default, htpasswd is enabled on your staging environment for maximum security. You have the option to disable the staging’s password protection.
SSH and SFTP AccessNo more manually copying changes from a test server to production. Effortlessly transfer changes between your live site and staging with a single click.
Granular ControlsHave precise control over the content and updates you want to transfer from staging to your live sites. Choose to transfer only files, only the database, or both.
SSL-Enabled StagingSSL certificates are pre-installed on all staging applications. You can use Let’s Encrypt certificate or your custom SSL certificate.
Select a Server to Staging the Application
my-server (same server)Database: MariaDB 10.11
You are cloning an app that uses a different PHP version onto a smaller server. When multiple PHP versions are enabled per app, we recommend a server of 4 GB or higher for the best performance.
unified.cloudways.com/server
CLOUDWAYSFlexible › My Servers
Recover Server+ Add Server
1 to 1 of 1 Servers
Provider ▾Status ▾Sort by: Date Created ▾
my-server1 GB - Standard · 203.0.113.24 · London · 9th October, 2026
Creating staging applicationStaging Application Creation is in progress …View Credentials
unified.cloudways.com/apps
CLOUDWAYSFlexible › My Applications
Recover Application+ Add Application
1 to 2 of 2 Applications
Server ▾App Type ▾Environment ▾Sort by: Date Created ▾
Staging-my-appStagingmy-server · 19th October, 2026
my-appmy-server · my-project · 9th October, 2026
Bấm vào mục đang sáng ở menu trái hoặc nút trên màn hình.

Ứng dụng staging cũng có gần như đủ menu của ứng dụng gốc, nên ngoài cài plugin và theme, bạn còn thử được các thiết lập như tác vụ cron, SSL và sao lưu.

Màn hình Access Details của ứng dụng staging trong Cloudways Staging Management: 11 mục menu bên trái, Application URL, Admin Panel, Database, Redis
🧭 Trình mô phỏng Pull và Push staging Cloudways
CloudwaysTrình mô phỏng đường dẫn
my-server › my-app
📍My Applications›my-app›Staging Management
Quản lý staging
Khi đã có ứng dụng staging, [Pull] và [Push] xuất hiện trong [Staging Management] của ứng dụng gốc.
📍My Applications›my-app›Staging Management›Pull
Cửa sổ Pull
[Pull] chuyển thay đổi từ staging sang live. Trong cửa sổ, bạn chọn thứ cần chuyển giữa [Web Application Files] và [Database].
📍My Applications›my-app›Staging Management›Pull
Chọn để chuyển
Với file, bạn chọn giữa [Overwrite] và [Incremental]; với cơ sở dữ liệu, chọn giữa [Full DB] và [Selected Tables]. Trước khi chuyển, bạn có thể sao lưu bản live.
📍My Applications›my-app›Staging Management›Push
Push
[Push] thì ngược lại, chuyển thay đổi từ live sang staging.
📍My Applications›my-app›Staging Management›Push
Cửa sổ Push
Cửa sổ Push cũng có các ô chọn giống vậy, nhưng không có câu hỏi sao lưu. [Proceed] bật lên khi bạn chọn ít nhất một thứ để chuyển.
unified.cloudways.com/apps/…/staging
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Manage the Staging environment for your applications
Copy Data from Staging to LiveYou can pull the changes you made on Staging application to the Live application.
Staging-my-app
Copy Data from Live to StagingYou can push the changes of the Live application to Staging application.
Staging-my-app
Deployment LogsYou can view the deployment logs for all the Push and Pull requests.View LogsTo restore your application to a previous state, please use the Backup and Restore feature.
unified.cloudways.com/apps/…/staging
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Manage the Staging environment for your applications
Copy Data from Staging to LiveYou can pull the changes you made on Staging application to the Live application.
Staging-my-app
Copy Data from Live to StagingYou can push the changes of the Live application to Staging application.
Staging-my-app
Deployment LogsYou can view the deployment logs for all the Push and Pull requests.View LogsTo restore your application to a previous state, please use the Backup and Restore feature.
Copy from Staging to Live
This process will copy the changes from Staging Application to the Live Application.
Do you want to backup your Live Application before moving data from Staging? This may take a while.
unified.cloudways.com/apps/…/staging
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Manage the Staging environment for your applications
Copy Data from Staging to LiveYou can pull the changes you made on Staging application to the Live application.
Staging-my-app
Copy Data from Live to StagingYou can push the changes of the Live application to Staging application.
Staging-my-app
Deployment LogsYou can view the deployment logs for all the Push and Pull requests.View LogsTo restore your application to a previous state, please use the Backup and Restore feature.
Copy from Staging to Live
This process will copy the changes from Staging Application to the Live Application.
Exclude path
public_html/SaveCancel
+ Add additional paths
Do you want to backup your Live Application before moving data from Staging? This may take a while.
unified.cloudways.com/apps/…/staging
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Manage the Staging environment for your applications
Copy Data from Staging to LiveYou can pull the changes you made on Staging application to the Live application.
Staging-my-app
Copy Data from Live to StagingYou can push the changes of the Live application to Staging application.
Staging-my-app
Deployment LogsYou can view the deployment logs for all the Push and Pull requests.View LogsTo restore your application to a previous state, please use the Backup and Restore feature.
unified.cloudways.com/apps/…/staging
CLOUDWAYSmy-server › my-app › Staging Management
Staging Management
Need Help ⓘ
Manage the Staging environment for your applications
Copy Data from Staging to LiveYou can pull the changes you made on Staging application to the Live application.
Staging-my-app
Copy Data from Live to StagingYou can push the changes of the Live application to Staging application.
Staging-my-app
Deployment LogsYou can view the deployment logs for all the Push and Pull requests.View LogsTo restore your application to a previous state, please use the Backup and Restore feature.
Copy from Live to Staging.
This process will copy the changes from Live Application to the Staging Application.
Exclude path
public_html/SaveCancel
+ Add additional paths
Bấm vào mục đang sáng ở menu trái hoặc nút trên màn hình.

🔣 Tận dụng plugin sao lưu UpdraftPlus

Nếu chỉ là việc đơn giản như thử một plugin, bạn có thể dùng plugin UpdraftPlus, có thể khôi phục theme, plugin và cơ sở dữ liệu WordPress cùng lúc. Cách làm là tạo file sao lưu trước khi cài plugin hoặc đổi thiết lập, rồi khôi phục khi thử xong.

Không cần khôi phục bằng lệnh trên server hay từ trang quản trị hosting — chỉ cần chuột là đủ.

🔢 FAQ & nội dung đề xuất

Được. Trên server thử nghiệm, tôi chọn server hiện tại (same server) để tạo, và cửa sổ chọn server hiện thông báo rằng ứng dụng dùng phiên bản PHP khác sẽ được sao chép sang server nhỏ hơn. Nội dung là nếu các ứng dụng dùng nhiều phiên bản PHP thì nên dùng server từ 4GB trở lên. Khi bấm [Continue], ứng dụng staging vẫn được tạo bình thường.

Trong danh sách [Applications], bấm ⋮ › [Delete Application] ở dòng của ứng dụng staging, rồi nhập DELETE vào cửa sổ xác nhận. Cửa sổ xác nhận báo rằng ứng dụng không có bản sao lưu sẽ không khôi phục được sau khi xóa. Trên server thử nghiệm, ứng dụng biến mất khỏi danh sách 3–4 phút sau khi xóa.

🪐Tham khảoTài liệu chính thức 1

ℹ️ Thông báo tiếp thị liên kết
Nội dung trên trang này có chứa liên kết affiliate (tiếp thị liên kết). Khi khách truy cập mua sản phẩm hoặc dịch vụ qua các liên kết này, trang sẽ nhận hoa hồng từ bên bán. Trong quá trình đó, số tiền người mua phải trả (sẽ giảm khi có chương trình khuyến mãi ↓) không hề tăng lên. Giá, khuyến mãi và tình trạng hàng được đăng theo thời điểm viết bài và có thể khác với thực tế, vì vậy hãy kiểm tra lại lần cuối với bên bán trước khi mua. Việc chọn và đánh giá sản phẩm dựa trên tiêu chí riêng của trang; việc có nhận hoa hồng hay không không ảnh hưởng đến thứ tự giới thiệu hay nội dung đánh giá.

Để lại một bình luận

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Prove your humanity: 2   +   5   =