{"id":41936,"date":"2026-12-01T16:22:48","date_gmt":"2026-12-01T09:22:48","guid":{"rendered":"https:\/\/dps.media\/cach-chuyen-hosting-cpanel-bang-agent-ide\/"},"modified":"2026-12-01T16:23:01","modified_gmt":"2026-12-01T09:23:01","slug":"cach-chuyen-hosting-cpanel-bang-agent-ide","status":"publish","type":"post","link":"https:\/\/dps.media\/zh\/cach-chuyen-hosting-cpanel-bang-agent-ide\/","title":{"rendered":"C\u00e1ch Chuy\u1ec3n Hosting cPanel H\u00e0ng Lo\u1ea1t B\u1eb1ng Agent IDE: Nhanh, An To\u00e0n, Kh\u00f4ng Downtime [2026]"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>N\u1ebfu b\u1ea1n t\u1eebng ph\u1ea3i chuy\u1ec3n 8 \u0111\u1ebfn 10 website WordPress t\u1eeb m\u1ed9t g\u00f3i Shared Hosting cPanel s\u1eafp h\u1ebft h\u1ea1n sang m\u00e1y ch\u1ee7 m\u1edbi, c\u1ea3m gi\u00e1c ng\u00e1n ng\u1ea9m l\u00e0 \u0111i\u1ec1u kh\u00f3 tr\u00e1nh kh\u1ecfi. N\u00e9n t\u1eebng th\u01b0 m\u1ee5c tr\u00ean File Manager, t\u1ea3i h\u00e0ng GB v\u1ec1 m\u00e1y t\u00ednh c\u00e1 nh\u00e2n, r\u1ed3i upload ng\u01b0\u1ee3c l\u00ean server m\u1edbi. Ti\u1ebfp \u0111\u00f3 l\u00e0 m\u1edf phpMyAdmin export t\u1eebng database, t\u1ea1o user m\u1edbi, ph\u00e2n quy\u1ec1n, import l\u1ea1i v\u00e0 m\u1edf t\u1eebng file <code class=\"notranslate no-translate\">wp-config.php<\/code> \u0111\u1ec3 s\u1eeda tay.<\/p><p>Ch\u1ec9 c\u1ea7n s\u00f3t m\u1ed9t \u0111\u01b0\u1eddng d\u1eabn c\u0169 ho\u1eb7c l\u1ec7ch phi\u00ean b\u1ea3n PHP, website l\u1eadp t\u1ee9c tr\u1eafng trang ngay sau khi tr\u1ecf DNS. Thay v\u00ec m\u1ea5t c\u1ea3 bu\u1ed5i t\u1ed1i l\u00e0m th\u1ee7 c\u00f4ng, c\u00e1ch <strong>chuy\u1ec3n hosting cPanel b\u1eb1ng Agent IDE<\/strong> (nh\u01b0 Antigravity, Cursor, Windsurf hay Claude Code) k\u1ebft h\u1ee3p SSH Key t\u1ea1m v\u00e0 cPanel UAPI cho ph\u00e9p b\u1ea1n t\u1ef1 \u0111\u1ed9ng h\u00f3a to\u00e0n b\u1ed9 quy tr\u00ecnh ch\u1ec9 trong v\u00e0i ph\u00fat. Kh\u00f4ng c\u1ea7n quy\u1ec1n WHM root, kh\u00f4ng t\u1ed1n b\u0103ng th\u00f4ng t\u1ea3i file v\u1ec1 m\u00e1y, v\u00e0 \u0111\u1eb7c bi\u1ec7t l\u00e0 ki\u1ec3m tra \u0111\u01b0\u1ee3c website ch\u1ea1y th\u1eadt tr\u00ean IP m\u1edbi tr\u01b0\u1edbc khi \u0111\u1ed5i DNS \u0111\u1ec3 \u0111\u1ea1t tr\u1ea1ng th\u00e1i Zero Downtime.<\/p><h2>1. B\u1ee9c Tranh Th\u1ef1c T\u1ebf: V\u00ec Sao Chuy\u1ec3n Hosting cPanel Th\u1ee7 C\u00f4ng D\u1ec5 G\u00e2y Downtime?<\/h2><p>T\u1ea1i nhi\u1ec1u doanh nghi\u1ec7p SMEs ho\u1eb7c \u0111\u1ed9i ng\u0169 agency v\u1eadn h\u00e0nh c\u00f9ng l\u00fac 5\u201315 v\u1ec7 tinh WordPress, vi\u1ec7c n\u00e2ng c\u1ea5p ho\u1eb7c chuy\u1ec3n \u0111\u1ed5i nh\u00e0 cung c\u1ea5p hosting th\u01b0\u1eddng b\u1ecb tr\u00ec ho\u00e3n v\u00ec ng\u1ea1i r\u1ee7i ro gi\u00e1n \u0111o\u1ea1n. Ch\u1eb3ng h\u1ea1n v\u1edbi m\u1ed9t \u0111\u01a1n v\u1ecb nh\u01b0 <em>N\u1ed9i th\u1ea5t An Ph\u00e1t<\/em> v\u1eadn h\u00e0nh 6 website b\u00e1n h\u00e0ng v\u00e0 trang gi\u1edbi thi\u1ec7u tr\u00ean c\u00f9ng m\u1ed9t g\u00f3i Shared Hosting c\u0169, dung l\u01b0\u1ee3ng t\u1ed5ng c\u1ed9ng h\u01a1n 4,2 GB. Khi th\u1ef1c hi\u1ec7n chuy\u1ec3n tay theo l\u1ed1i truy\u1ec1n th\u1ed1ng, k\u1ef9 thu\u1eadt vi\u00ean ph\u1ea3i t\u1ea3i file n\u00e9n qua m\u1ea1ng v\u0103n ph\u00f2ng m\u1ea5t g\u1ea7n 45 ph\u00fat, ch\u01b0a k\u1ec3 th\u1eddi gian import database hay b\u1ecb timeout \u1edf nh\u1eefng b\u1ea3ng d\u1eef li\u1ec7u l\u1edbn.<\/p><p>R\u1ee7i ro l\u1edbn nh\u1ea5t n\u1eb1m \u1edf kho\u1ea3ng tr\u1ed1ng gi\u1eefa l\u00fac \u0111\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u v\u00e0 l\u00fac tr\u1ecf t\u00ean mi\u1ec1n. N\u1ebfu kh\u00f4ng ki\u1ec3m th\u1eed tr\u1ef1c ti\u1ebfp tr\u00ean IP m\u1edbi, b\u1ea1n ch\u1ec9 ph\u00e1t hi\u1ec7n l\u1ed7i 500 ho\u1eb7c l\u1ed7i k\u1ebft n\u1ed1i c\u01a1 s\u1edf d\u1eef li\u1ec7u sau khi kh\u00e1ch h\u00e0ng \u0111\u00e3 kh\u00f4ng th\u1ec3 truy c\u1eadp website.<\/p><table>\n<thead>\n<tr>\n<th>Ti\u00eau ch\u00ed v\u1eadn h\u00e0nh<\/th>\n<th>Chuy\u1ec3n th\u1ee7 c\u00f4ng (File Manager + phpMyAdmin)<\/th>\n<th>D\u00f9ng Agent IDE (SSH + cPanel UAPI)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>T\u1ed1c \u0111\u1ed9 truy\u1ec1n d\u1eef li\u1ec7u<\/strong><\/td>\n<td>Ch\u1eadm, ph\u1ea3i t\u1ea3i h\u00e0ng GB v\u1ec1 m\u00e1y c\u00e1 nh\u00e2n r\u1ed3i upload l\u1ea1i, t\u1ed1n dung l\u01b0\u1ee3ng \u1ed5 c\u1ee9ng t\u1ea1m.<\/td>\n<td><strong>C\u1ef1c nhanh<\/strong>, stream th\u1eb3ng <code class=\"notranslate no-translate\">tar<\/code> n\u00e9n gi\u1eefa 2 server (600 MB\u20131 GB ch\u1ec9 m\u1ea5t 1\u20132 ph\u00fat).<\/td>\n<\/tr>\n<tr>\n<td><strong>T\u1ea1o Domain, DB & User<\/strong><\/td>\n<td>Thao t\u00e1c click tay t\u1eebng m\u1ee5c tr\u00ean giao di\u1ec7n web cPanel, d\u1ec5 s\u00f3t ph\u00e2n quy\u1ec1n.<\/td>\n<td><strong>T\u1ef1 \u0111\u1ed9ng 100%<\/strong> th\u00f4ng qua c\u00f4ng c\u1ee5 d\u00f2ng l\u1ec7nh <code class=\"notranslate no-translate\">uapi<\/code> t\u00edch h\u1ee3p s\u1eb5n c\u1ee7a cPanel.<\/td>\n<\/tr>\n<tr>\n<td><strong>\u0110\u1ed9 ch\u00ednh x\u00e1c c\u1ea5u h\u00ecnh<\/strong><\/td>\n<td>D\u1ec5 qu\u00ean s\u1eeda \u0111\u01b0\u1eddng d\u1eabn trong <code class=\"notranslate no-translate\">wp-config.php<\/code>, <code class=\"notranslate no-translate\">.htaccess<\/code> ho\u1eb7c sai phi\u00ean b\u1ea3n PHP.<\/td>\n<td>Agent t\u1ef1 qu\u00e9t, \u0111\u1ed1i chi\u1ebfu phi\u00ean b\u1ea3n PHP, c\u1eadp nh\u1eadt file c\u1ea5u h\u00ecnh v\u00e0 ki\u1ec3m tra c\u00fa ph\u00e1p.<\/td>\n<\/tr>\n<tr>\n<td><strong>Ki\u1ec3m th\u1eed tr\u01b0\u1edbc khi \u0111\u1ed5i DNS<\/strong><\/td>\n<td>Ph\u1ea3i s\u1eeda file <code class=\"notranslate no-translate\">hosts<\/code> th\u1ee7 c\u00f4ng tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n \u0111\u1ec3 xem tr\u01b0\u1edbc.<\/td>\n<td>Agent t\u1ef1 ch\u1ea1y <code class=\"notranslate no-translate\">curl --resolve<\/code> so s\u00e1nh t\u1eebng byte gi\u1eefa IP c\u0169 v\u00e0 IP m\u1edbi.<\/td>\n<\/tr>\n<tr>\n<td><strong>B\u1ea3o m\u1eadt th\u00f4ng tin truy c\u1eadp<\/strong><\/td>\n<td>Th\u01b0\u1eddng ph\u1ea3i chia s\u1ebb m\u1eadt kh\u1ea9u \u0111\u0103ng nh\u1eadp ch\u00ednh c\u1ee7a t\u00e0i kho\u1ea3n cPanel.<\/td>\n<td>D\u00f9ng <strong>SSH Key t\u1ea1m<\/strong>, chuy\u1ec3n xong x\u00f3a 1 click l\u00e0 thu h\u1ed3i to\u00e0n b\u1ed9 quy\u1ec1n truy c\u1eadp.<\/td>\n<\/tr>\n<\/tbody>\n<\/table><p><img decoding=\"async\" src=\"https:\/\/dps.media\/wp-content\/uploads\/2026\/12\/cpanel_agent_ide_img2_1796116727975.webp\" alt=\"chuy\u1ec3n hosting cPanel b\u1eb1ng Agent IDE\" style=\"display:block; margin:20px auto; max-width:100%; height:auto;\" title=\"\"><\/p><h2>2. C\u00e1ch Chuy\u1ec3n Hosting cPanel B\u1eb1ng Agent IDE Ho\u1ea1t \u0110\u1ed9ng Nh\u01b0 Th\u1ebf N\u00e0o?<\/h2><p>B\u1ea3n ch\u1ea5t c\u1ee7a ph\u01b0\u01a1ng ph\u00e1p n\u00e0y l\u00e0 bi\u1ebfn AI Agent trong IDE th\u00e0nh m\u1ed9t k\u1ef9 s\u01b0 h\u1ec7 th\u1ed1ng th\u1ef1c th\u1ee5 ngay tr\u00ean terminal c\u1ee7a b\u1ea1n. Thay v\u00ec thao t\u00e1c chu\u1ed9t qua giao di\u1ec7n \u0111\u1ed3 h\u1ecda v\u1ed1n gi\u1edbi h\u1ea1n t\u00ednh n\u0103ng h\u00e0ng lo\u1ea1t, Agent giao ti\u1ebfp tr\u1ef1c ti\u1ebfp v\u1edbi c\u1ea3 hosting c\u0169 v\u00e0 hosting m\u1edbi qua giao th\u1ee9c SSH b\u1ea3o m\u1eadt, t\u1eadn d\u1ee5ng b\u1ed9 l\u1ec7nh <strong>cPanel UAPI<\/strong> (User API) do ch\u00ednh cPanel cung c\u1ea5p cho ng\u01b0\u1eddi d\u00f9ng ph\u1ed5 th\u00f4ng m\u00e0 kh\u00f4ng c\u1ea7n \u0111\u1eb7c quy\u1ec1n qu\u1ea3n tr\u1ecb vi\u00ean m\u00e1y ch\u1ee7 (WHM root).<\/p><h3>B\u1ea1n c\u1ea7n chu\u1ea9n b\u1ecb 3 \u0111i\u1ec1u ki\u1ec7n \u0111\u01a1n gi\u1ea3n tr\u01b0\u1edbc khi b\u1eaft \u0111\u1ea7u<\/h3><ul>\n<li><strong>M\u1ed9t Agent IDE \u0111\u00e3 c\u00e0i tr\u00ean m\u00e1y:<\/strong> Antigravity, Cursor, Windsurf ho\u1eb7c Claude Code c\u00f3 quy\u1ec1n th\u1ef1c thi l\u1ec7nh terminal\/SSH.<\/li>\n<li><strong>Hai t\u00e0i kho\u1ea3n cPanel (c\u0169 v\u00e0 m\u1edbi) c\u00f3 b\u1eadt SSH Access:<\/strong> Ph\u1ea7n l\u1edbn c\u00e1c nh\u00e0 cung c\u1ea5p Shared Hosting cPanel hi\u1ec7n nay \u0111\u1ec1u m\u1edf s\u1eb5n t\u00ednh n\u0103ng n\u00e0y trong b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n.<\/li>\n<li><strong>Quy\u1ec1n qu\u1ea3n l\u00fd DNS c\u1ee7a t\u00ean mi\u1ec1n:<\/strong> Cloudflare ho\u1eb7c trang qu\u1ea3n tr\u1ecb nh\u00e0 \u0111\u0103ng k\u00fd t\u00ean mi\u1ec1n \u2014 ch\u1ec9 \u0111\u1ee5ng t\u1edbi \u1edf b\u01b0\u1edbc cu\u1ed1i c\u00f9ng sau khi m\u1ecdi website \u0111\u00e3 ch\u1ea1y ho\u00e0n h\u1ea3o tr\u00ean IP m\u1edbi.<\/li>\n<\/ul><p><strong>M\u1eb9o b\u1ea3o m\u1eadt quan tr\u1ecdng:<\/strong> H\u00e3y t\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c l\u00e0m vi\u1ec7c ri\u00eang tr\u00ean m\u00e1y (v\u00ed d\u1ee5 <code class=\"notranslate no-translate\">cpanel-move<\/code>) v\u00e0 y\u00eau c\u1ea7u Agent th\u00eam <code class=\"notranslate no-translate\">.ssh_migration_key*<\/code>, <code class=\"notranslate no-translate\">*.sql<\/code>, <code class=\"notranslate no-translate\">*.tar.gz<\/code> v\u00e0o file <code class=\"notranslate no-translate\">.gitignore<\/code> ngay t\u1eeb \u0111\u1ea7u. Nh\u1edd v\u1eady, th\u00f4ng tin kh\u00f3a b\u00ed m\u1eadt hay d\u1eef li\u1ec7u database t\u1ea1m th\u1eddi s\u1ebd kh\u00f4ng bao gi\u1edd b\u1ecb \u0111\u1ea9y nh\u1ea7m l\u00ean Git.<\/p><h2>3. Quy Tr\u00ecnh 6 B\u01b0\u1edbc Di Chuy\u1ec3n H\u00e0ng Lo\u1ea1t Website cPanel Kh\u00f4ng Downtime<\/h2><p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 quy tr\u00ecnh chu\u1ea9n h\u00f3a \u0111\u00e3 \u0111\u01b0\u1ee3c ki\u1ec3m ch\u1ee9ng th\u1ef1c t\u1ebf gi\u00fap di chuy\u1ec3n \u0111\u1ed3ng lo\u1ea1t nhi\u1ec1u website WordPress an to\u00e0n, s\u1ea1ch s\u1ebd v\u00e0 \u0111\u1ed3ng b\u1ed9 tuy\u1ec7t \u0111\u1ed1i.<\/p><h3>B\u01b0\u1edbc 1: T\u1ea1o SSH Key t\u1ea1m RSA 4096 v\u00e0 c\u1ea5p quy\u1ec1n tr\u00ean 2 cPanel<\/h3><p>Tuy\u1ec7t \u0111\u1ed1i kh\u00f4ng g\u1eedi m\u1eadt kh\u1ea9u \u0111\u0103ng nh\u1eadp cPanel v\u00e0o khung chat AI. H\u00e3y y\u00eau c\u1ea7u Agent t\u1ef1 sinh m\u1ed9t c\u1eb7p kh\u00f3a SSH t\u1ea1m chu\u1ea9n <strong>RSA 4096<\/strong> \u2014 \u0111\u1ecbnh d\u1ea1ng n\u00e0y t\u01b0\u01a1ng th\u00edch 100% v\u1edbi m\u1ecdi phi\u00ean b\u1ea3n cPanel, tr\u00e1nh t\u00ecnh tr\u1ea1ng m\u1ed9t s\u1ed1 m\u00e1y ch\u1ee7 cPanel \u0111\u1eddi c\u0169 t\u1eeb ch\u1ed1i kh\u00f3a Ed25519.<\/p><p><strong>Prompt m\u1eabu g\u1eedi Agent:<\/strong> <em>\u201cM\u00ecnh c\u1ea7n chuy\u1ec3n c\u00e1c website t\u1eeb hosting cPanel c\u0169 (user_cu@OLD_IP) sang hosting cPanel m\u1edbi (user_moi@NEW_IP). H\u00e3y t\u1ea1o m\u1ed9t c\u1eb7p SSH key RSA 4096 t\u1ea1m tr\u00ean m\u00e1y, th\u00eam v\u00e0o .gitignore v\u00e0 g\u1eedi m\u00ecnh \u0111o\u1ea1n Public Key \u0111\u1ec3 m\u00ecnh import v\u00e0o c\u1ea3 2 cPanel.\u201d<\/em><\/p><p>Sau \u0111\u00f3, b\u1ea1n thao t\u00e1c nhanh trong kho\u1ea3ng 1 ph\u00fat tr\u00ean c\u1ea3 hai trang qu\u1ea3n tr\u1ecb cPanel:<\/p><ol>\n<li>M\u1edf m\u1ee5c <strong>SSH Access -> Manage SSH Keys -> Import Key<\/strong>.<\/li>\n<li>\u0110\u1eb7t t\u00ean key (v\u00ed d\u1ee5: <code class=\"notranslate no-translate\">migration<\/code>), \u0111\u1ec3 tr\u1ed1ng \u00f4 Private Key v\u00e0 Passphrase, d\u00e1n \u0111o\u1ea1n <strong>Public Key<\/strong> Agent v\u1eeba t\u1ea1o v\u00e0o \u00f4 Public Key r\u1ed3i b\u1ea5m <strong>Import<\/strong>.<\/li>\n<li><strong>B\u01b0\u1edbc c\u1ef1c k\u1ef3 quan tr\u1ecdng hay b\u1ecb qu\u00ean:<\/strong> Quay l\u1ea1i danh s\u00e1ch <strong>Public Keys<\/strong>, b\u1ea5m ch\u1eef <strong>Manage<\/strong> ngay b\u00ean c\u1ea1nh key <code class=\"notranslate no-translate\">migration<\/code> v\u00e0 nh\u1ea5n <strong>Authorize<\/strong> \u0111\u1ec3 tr\u1ea1ng th\u00e1i chuy\u1ec3n th\u00e0nh <code class=\"notranslate no-translate\">authorized<\/code>.<\/li>\n<\/ol><h3>B\u01b0\u1edbc 2: Agent t\u1ef1 \u0111\u1ed9ng ki\u1ec3m k\u00ea to\u00e0n b\u1ed9 domain, database v\u00e0 phi\u00ean b\u1ea3n PHP<\/h3><p>Ngay khi b\u1ea1n x\u00e1c nh\u1eadn \u0111\u00e3 c\u1ea5p quy\u1ec1n xong, Agent s\u1ebd k\u1ebft n\u1ed1i SSH v\u00e0o c\u1ea3 hai m\u00e1y ch\u1ee7 v\u00e0 ch\u1ea1y l\u1ec7nh <code class=\"notranslate no-translate\">uapi<\/code> \u0111\u1ec3 l\u1eadp b\u1ea3ng ki\u1ec3m k\u00ea chi ti\u1ebft ch\u1ec9 trong v\u00e0i gi\u00e2y:<\/p><ul>\n<li>To\u00e0n b\u1ed9 danh s\u00e1ch Main Domain, Addon Domain, Subdomain k\u00e8m th\u01b0 m\u1ee5c g\u1ed1c (<code class=\"notranslate no-translate\">documentroot<\/code>).<\/li>\n<li>Danh s\u00e1ch MySQL Database, dung l\u01b0\u1ee3ng t\u1eebng database v\u00e0 t\u1ef1 \u0111\u1ed9ng gh\u00e9p c\u1eb7p database n\u00e0o thu\u1ed9c v\u1ec1 website n\u00e0o d\u1ef1a tr\u00ean file <code class=\"notranslate no-translate\">wp-config.php<\/code>.<\/li>\n<li>Phi\u00ean b\u1ea3n PHP \u0111ang ch\u1ea1y th\u1ef1c t\u1ebf tr\u00ean t\u1eebng t\u00ean mi\u1ec1n (<code class=\"notranslate no-translate\">ea-php74<\/code>, <code class=\"notranslate no-translate\">ea-php81<\/code>, <code class=\"notranslate no-translate\">ea-php82<\/code>\u2026).<\/li>\n<li>Ki\u1ec3m tra Email Accounts, Cron Jobs v\u00e0 th\u00f4ng s\u1ed1 dung l\u01b0\u1ee3ng tr\u1ed1ng (Quota, Inodes) \u1edf hosting m\u1edbi \u0111\u1ec3 ch\u1eafc ch\u1eafn kh\u00f4ng b\u1ecb thi\u1ebfu ch\u1ed7 ch\u1ee9a hay tr\u00f9ng l\u1eb7p th\u01b0 m\u1ee5c.<\/li>\n<\/ul><p>L\u00fac n\u00e0y b\u1ea1n ch\u1ec9 c\u1ea7n r\u00e0 l\u1ea1i b\u1ea3ng t\u1ed5ng h\u1ee3p m\u00e0 Agent xu\u1ea5t ra: ch\u1ecdn danh s\u00e1ch website c\u1ea7n chuy\u1ec3n, quy\u1ebft \u0111\u1ecbnh xem c\u00f3 lo\u1ea1i b\u1ecf c\u00e1c file backup <code class=\"notranslate no-translate\">.tar.gz<\/code> c\u0169 cho nh\u1eb9 \u1ed5 c\u1ee9ng m\u1edbi hay kh\u00f4ng.<\/p><h3>B\u01b0\u1edbc 3: T\u1ef1 \u0111\u1ed9ng t\u1ea1o Addon Domain, Subdomain v\u00e0 c\u1ea5u h\u00ecnh PHP b\u1eb1ng UAPI<\/h3><p>Tr\u00ean hosting m\u1edbi, thay v\u00ec b\u1ea5m tay t\u1eebng t\u00ean mi\u1ec1n m\u1ed9t, Agent g\u1ecdi th\u1eb3ng c\u00e1c l\u1ec7nh <code class=\"notranslate no-translate\">uapi<\/code> \u0111\u1ec3 kh\u1edfi t\u1ea1o h\u1ea1 t\u1ea7ng \u0111\u1ed3ng lo\u1ea1t v\u00e0 kh\u1edbp 100% c\u1ea5u h\u00ecnh v\u1edbi hosting c\u0169:<\/p><pre class=\"notranslate no-translate\"><code class=\"notranslate no-translate\"># T\u1ea1o Subdomain m\u1edbi\nuapi SubDomain addsubdomain domain=docs rootdomain=example.com dir=docs.example.com\n\n# T\u1ea1o Addon Domain m\u1edbi\nuapi AddonDomain addaddondomain dir=shop newdomain=shop.example.com subdomain=shopsub\n\n# Thi\u1ebft l\u1eadp \u0111\u00fang phi\u00ean b\u1ea3n PHP cho t\u1eebng t\u00ean mi\u1ec1n\nuapi LangPHP php_set_vhost_versions vhost=shop.example.com version=ea-php81<\/code><\/pre><h3>B\u01b0\u1edbc 4: Dump Database v\u00e0 stream d\u1eef li\u1ec7u tr\u1ef1c ti\u1ebfp qua SSH<\/h3><p>\u0110\u00e2y l\u00e0 b\u01b0\u1edbc gi\u00fap b\u1ea1n ti\u1ebft ki\u1ec7m \u0111\u1ebfn 80% th\u1eddi gian so v\u1edbi c\u00e1ch l\u00e0m truy\u1ec1n th\u1ed1ng. Agent s\u1ebd th\u1ef1c hi\u1ec7n tu\u1ea7n t\u1ef1:<\/p><ol>\n<li>Dump to\u00e0n b\u1ed9 c\u01a1 s\u1edf d\u1eef li\u1ec7u MySQL tr\u00ean hosting c\u0169 b\u1eb1ng l\u1ec7nh <code class=\"notranslate no-translate\">mysqldump --single-transaction --routines --triggers --quick --no-tablespaces<\/code> v\u00e0 n\u00e9n th\u00e0nh c\u00e1c file <code class=\"notranslate no-translate\">.sql.gz<\/code> g\u1ecdn nh\u1eb9.<\/li>\n<li>Qu\u00e9t tr\u01b0\u1edbc c\u00e1c \u0111\u01b0\u1eddng d\u1eabn tuy\u1ec7t \u0111\u1ed1i (hardcoded path) ch\u1ee9a <code class=\"notranslate no-translate\">\/home\/user_cu<\/code> trong <code class=\"notranslate no-translate\">.htaccess<\/code>, <code class=\"notranslate no-translate\">.user.ini<\/code>, <code class=\"notranslate no-translate\">wp-config.php<\/code> hay <code class=\"notranslate no-translate\">wordfence-waf.php<\/code> \u0111\u1ec3 chu\u1ea9n b\u1ecb c\u1eadp nh\u1eadt sang <code class=\"notranslate no-translate\">\/home\/user_moi<\/code>.<\/li>\n<li>Stream d\u1eef li\u1ec7u tr\u1ef1c ti\u1ebfp t\u1eeb server c\u0169 sang server m\u1edbi th\u00f4ng qua <code class=\"notranslate no-translate\">tar<\/code> qua SSH \u2014 kh\u00f4ng l\u01b0u file n\u00e9n trung gian g\u00e2y \u0111\u1ea7y dung l\u01b0\u1ee3ng c\u1ea3 2 g\u00f3i hosting:<\/li>\n<\/ol><pre class=\"notranslate no-translate\"><code class=\"notranslate no-translate\">ssh user_cu@OLD_HOST \"cd ~ && tar -czf - site1 site2 tmp\/migrate_db\" | ssh user_moi@NEW_HOST \"cd ~ && tar -xzf -\"<\/code><\/pre><p>V\u1edbi c\u01a1 ch\u1ebf stream n\u00e0y, m\u1ed9t l\u00f4 4\u20135 website n\u1eb7ng kho\u1ea3ng 600 MB \u0111\u1ebfn 1 GB th\u01b0\u1eddng ch\u1ec9 m\u1ea5t ch\u01b0a \u0111\u1ea7y 1\u20132 ph\u00fat \u0111\u1ec3 truy\u1ec1n ho\u00e0n t\u1ea5t.<\/p><h3>B\u01b0\u1edbc 5: T\u1ea1o Database m\u1edbi, import SQL v\u00e0 c\u1eadp nh\u1eadt wp-config.php t\u1ef1 \u0111\u1ed9ng<\/h3><p>Khi m\u00e3 ngu\u1ed3n v\u00e0 c\u00e1c file <code class=\"notranslate no-translate\">.sql.gz<\/code> \u0111\u00e3 n\u1eb1m tr\u00ean hosting m\u1edbi, Agent t\u1ef1 \u0111\u1ed9ng ho\u00e0n thi\u1ec7n to\u00e0n b\u1ed9 ph\u1ea7n k\u1ebft n\u1ed1i:<\/p><ul>\n<li>T\u1ea1o Database m\u1edbi, t\u1ea1o User m\u1edbi v\u1edbi m\u1eadt kh\u1ea9u ng\u1eabu nhi\u00ean \u0111\u1ed9 b\u1ea3o m\u1eadt cao v\u00e0 c\u1ea5p <code class=\"notranslate no-translate\">ALL PRIVILEGES<\/code> qua <code class=\"notranslate no-translate\">uapi Mysql<\/code>.<\/li>\n<li>Import t\u1eebng file <code class=\"notranslate no-translate\">.sql.gz<\/code> v\u00e0o database t\u01b0\u01a1ng \u1ee9ng, sau \u0111\u00f3 \u0111\u1ebfm l\u1ea1i s\u1ed1 b\u1ea3ng (<code class=\"notranslate no-translate\">SHOW TABLES<\/code>) \u0111\u1ec3 x\u00e1c nh\u1eadn kh\u00f4ng b\u1ecb thi\u1ebfu d\u1eef li\u1ec7u.<\/li>\n<li>C\u1eadp nh\u1eadt <code class=\"notranslate no-translate\">DB_NAME<\/code>, <code class=\"notranslate no-translate\">DB_USER<\/code>, <code class=\"notranslate no-translate\">DB_PASSWORD<\/code> trong t\u1eebng <code class=\"notranslate no-translate\">wp-config.php<\/code>, ch\u1ea1y ki\u1ec3m tra c\u00fa ph\u00e1p (<code class=\"notranslate no-translate\">php -l wp-config.php<\/code>) v\u00e0 ki\u1ec3m tra k\u1ebft n\u1ed1i MySQL th\u1ef1c t\u1ebf.<\/li>\n<li>Thay th\u1ebf to\u00e0n b\u1ed9 \u0111\u01b0\u1eddng d\u1eabn <code class=\"notranslate no-translate\">\/home\/user_cu<\/code> th\u00e0nh <code class=\"notranslate no-translate\">\/home\/user_moi<\/code> trong <code class=\"notranslate no-translate\">.htaccess<\/code> v\u00e0 <code class=\"notranslate no-translate\">.user.ini<\/code>, \u0111\u1ed3ng th\u1eddi d\u1ecdn s\u1ea1ch th\u01b0 m\u1ee5c dump t\u1ea1m tr\u00ean c\u1ea3 2 server.<\/li>\n<\/ul><h3>B\u01b0\u1edbc 6: Ki\u1ec3m tra web tr\u00ean IP m\u1edbi b\u1eb1ng curl \u2013resolve, tr\u1ecf DNS v\u00e0 b\u1eadt AutoSSL<\/h3><p>\u0110\u1ec3 ch\u1eafc ch\u1eafn 100% website kh\u00f4ng b\u1ecb l\u1ed7i tr\u01b0\u1edbc khi ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp v\u00e0o m\u00e1y ch\u1ee7 m\u1edbi, Agent th\u1ef1c hi\u1ec7n quy tr\u00ecnh ki\u1ec3m ch\u1ee9ng 3 l\u1edbp:<\/p><ol>\n<li><strong>Ki\u1ec3m tra tr\u01b0\u1edbc khi \u0111\u1ed5i DNS:<\/strong> D\u00f9ng l\u1ec7nh <code class=\"notranslate no-translate\">curl --resolve<\/code> \u00e9p truy c\u1eadp th\u1eb3ng v\u00e0o <code class=\"notranslate no-translate\">NEW_IP<\/code> \u0111\u1ec3 so s\u00e1nh m\u00e3 tr\u1ea1ng th\u00e1i HTTP, th\u1ebb <code class=\"notranslate no-translate\"><title><\/title><\/code> v\u00e0 dung l\u01b0\u1ee3ng HTML (t\u00ednh theo byte) v\u1edbi <code class=\"notranslate no-translate\">OLD_IP<\/code>. Ch\u1ec9 khi c\u1ea3 hai kh\u1edbp ho\u00e0n to\u00e0n (HTTP 200, giao di\u1ec7n \u0111\u1ea7y \u0111\u1ee7), b\u1ea1n m\u1edbi ti\u1ebfn h\u00e0nh tr\u1ecf DNS.<\/li>\n<li><strong>Tr\u1ecf DNS:<\/strong> B\u1ea1n v\u00e0o Cloudflare ho\u1eb7c trang qu\u1ea3n l\u00fd t\u00ean mi\u1ec1n \u0111\u1ed5i b\u1ea3n ghi <code class=\"notranslate no-translate\">A<\/code> c\u1ee7a c\u00e1c domain sang <code class=\"notranslate no-translate\">NEW_IP<\/code>.<\/li>\n<li><strong>B\u1eadt AutoSSL & X\u00e1c nh\u1eadn live:<\/strong> B\u00e1o Agent ki\u1ec3m tra l\u1ea1i. Agent s\u1ebd \u0111\u1ed1i chi\u1ebfu DNS tr\u00ean <code class=\"notranslate no-translate\">1.1.1.1<\/code> v\u00e0 <code class=\"notranslate no-translate\">8.8.8.8<\/code>, ch\u1ea1y l\u1ec7nh <code class=\"notranslate no-translate\">uapi SSL start_autossl_check<\/code> \u0111\u1ec3 cPanel c\u1ea5p ch\u1ee9ng ch\u1ec9 SSL h\u1ee3p l\u1ec7 cho to\u00e0n b\u1ed9 domain m\u1edbi chuy\u1ec3n, r\u1ed3i x\u00e1c th\u1ef1c truy c\u1eadp HTTPS cu\u1ed1i c\u00f9ng.<\/li>\n<\/ol><p><img decoding=\"async\" src=\"https:\/\/dps.media\/wp-content\/uploads\/2026\/12\/cpanel_agent_ide_img3_1796116837140.webp\" alt=\"Ki\u1ec3m tra curl --resolve tr\u01b0\u1edbc khi tr\u1ecf DNS v\u00e0 b\u1eadt AutoSSL khi chuy\u1ec3n cPanel\" style=\"display:block; margin:20px auto; max-width:100%; height:auto;\" title=\"\"><\/p><h2>4. 4 Kinh Nghi\u1ec7m Th\u1ef1c Chi\u1ebfn Tr\u00e1nh B\u1eaby Khi Chuy\u1ec3n cPanel B\u1eb1ng Agent IDE<\/h2><p>Trong qu\u00e1 tr\u00ecnh tri\u1ec3n khai th\u1ef1c t\u1ebf tr\u00ean nhi\u1ec1u nh\u00e0 cung c\u1ea5p hosting kh\u00e1c nhau, c\u00f3 4 l\u1ed7i v\u1eb7t r\u1ea5t d\u1ec5 l\u00e0m gi\u00e1n \u0111o\u1ea1n qu\u00e1 tr\u00ecnh t\u1ef1 \u0111\u1ed9ng h\u00f3a. B\u1ea1n c\u00f3 th\u1ec3 l\u01b0u ngay c\u00e1c m\u1eb9o sau v\u00e0o prompt ho\u1eb7c file Skill cho Agent:<\/p><ul>\n<li><strong>\u01afu ti\u00ean <code class=\"notranslate no-translate\">uapi<\/code>, tr\u00e1nh d\u00f9ng <code class=\"notranslate no-translate\">cpapi2<\/code>:<\/strong> Tr\u00ean c\u00e1c h\u1ec7 th\u1ed1ng cPanel m\u1edbi ch\u1ea1y Jailed Shell, l\u1ec7nh c\u0169 <code class=\"notranslate no-translate\">cpapi2<\/code> th\u01b0\u1eddng b\u00e1o l\u1ed7i <code class=\"notranslate no-translate\">No such file or directory<\/code>. Lu\u00f4n d\u00f9ng <code class=\"notranslate no-translate\">uapi<\/code> cho m\u1ecdi t\u00e1c v\u1ee5 domain, database, PHP v\u00e0 SSL.<\/li>\n<li><strong>B\u1ecdc l\u1ec7nh stream trong <code class=\"notranslate no-translate\">cmd \/c<\/code> n\u1ebfu d\u00f9ng Windows:<\/strong> Tr\u00ean Windows PowerShell 5.1, vi\u1ec7c pipe tr\u1ef1c ti\u1ebfp <code class=\"notranslate no-translate\">ssh ... | ssh ...<\/code> c\u00f3 th\u1ec3 l\u00e0m bi\u1ebfn \u0111\u1ed5i lu\u1ed3ng d\u1eef li\u1ec7u nh\u1ecb ph\u00e2n khi\u1ebfn file <code class=\"notranslate no-translate\">.tar.gz<\/code> b\u1ecb h\u1ecfng. H\u00e3y b\u1ecdc to\u00e0n b\u1ed9 l\u1ec7nh pipe v\u00e0o b\u00ean trong <code class=\"notranslate no-translate\">cmd \/c \"...\"<\/code> \u0111\u1ec3 gi\u1eef nguy\u00ean v\u1eb9n d\u1eef li\u1ec7u g\u1ed1c.<\/li>\n<li><strong>S\u1eeda <code class=\"notranslate no-translate\">wp-config.php<\/code> b\u1eb1ng <code class=\"notranslate no-translate\">perl<\/code> thay v\u00ec ch\u1ea1y file PHP t\u1ea1m:<\/strong> Nhi\u1ec1u hosting k\u00edch ho\u1ea1t Imunify360 ho\u1eb7c CageFS s\u1ebd ch\u1eb7n c\u00e1c script PHP ch\u1ea1y t\u1eeb th\u01b0 m\u1ee5c <code class=\"notranslate no-translate\">\/tmp\/<\/code> s\u1eeda file c\u1ea5u h\u00ecnh (b\u00e1o <code class=\"notranslate no-translate\">Permission denied<\/code>). L\u1ec7nh <code class=\"notranslate no-translate\">perl -0777 -i -pe<\/code> (k\u00e8m <code class=\"notranslate no-translate\">chmod 644<\/code> tr\u01b0\u1edbc khi s\u1eeda v\u00e0 tr\u1ea3 v\u1ec1 <code class=\"notranslate no-translate\">chmod 640<\/code> sau khi s\u1eeda) v\u1eeba g\u1ecdn s\u1ea1ch v\u1eeba kh\u00f4ng b\u1ecb t\u01b0\u1eddng l\u1eeda ch\u1eb7n.<\/li>\n<li><strong>Gom nhi\u1ec1u l\u1ec7nh v\u00e0o m\u1ed9t phi\u00ean SSH:<\/strong> M\u1ed9t s\u1ed1 nh\u00e0 cung c\u1ea5p gi\u1edbi h\u1ea1n t\u1ea7n su\u1ea5t k\u1ebft n\u1ed1i SSH qua c\u1ed5ng 22 (<code class=\"notranslate no-translate\">Connection closed by IP port 22<\/code>). H\u00e3y y\u00eau c\u1ea7u Agent g\u1ed9p chu\u1ed7i l\u1ec7nh ki\u1ec3m k\u00ea ho\u1eb7c import th\u00e0nh m\u1ed9t script bash ch\u1ea1y trong m\u1ed9t phi\u00ean SSH duy nh\u1ea5t, \u0111\u1ed3ng th\u1eddi \u01b0u ti\u00ean d\u00f9ng hostname m\u00e1y ch\u1ee7 thay cho IP th\u00f4 n\u1ebfu c\u00f3.<\/li>\n<\/ul><p><strong>\u0110\u1eebng qu\u00ean b\u01b0\u1edbc d\u1ecdn d\u1eb9p b\u1ea3o m\u1eadt cu\u1ed1i c\u00f9ng:<\/strong> Ngay khi m\u1ecdi website \u0111\u00e3 l\u00ean SSL xanh \u1ed5n \u0111\u1ecbnh tr\u00ean hosting m\u1edbi, h\u00e3y v\u00e0o l\u1ea1i <strong>SSH Access -> Manage SSH Keys<\/strong> tr\u00ean c\u1ea3 2 cPanel \u0111\u1ec3 <strong>Delete<\/strong> key t\u1ea1m <code class=\"notranslate no-translate\">migration<\/code>, \u0111\u1ed3ng th\u1eddi x\u00f3a c\u1eb7p file <code class=\"notranslate no-translate\">.ssh_migration_key<\/code> v\u00e0 <code class=\"notranslate no-translate\">.ssh_migration_key.pub<\/code> tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n.<\/p><h2>5. Gi\u1ea3i Ph\u00e1p H\u1ea1 T\u1ea7ng & Di Chuy\u1ec3n Website Tr\u1ecdn G\u00f3i T\u1ea1i DPS.MEDIA<\/h2><p>Vi\u1ec7c t\u1ef1 d\u00f9ng Agent IDE r\u1ea5t hi\u1ec7u qu\u1ea3 n\u1ebfu b\u1ea1n \u0111\u00e3 quen thao t\u00e1c terminal, hi\u1ec3u c\u1ea5u tr\u00fac WordPress v\u00e0 n\u1eafm quy\u1ec1n qu\u1ea3n l\u00fd DNS. Tuy nhi\u00ean, v\u1edbi nhi\u1ec1u ch\u1ee7 doanh nghi\u1ec7p b\u1eadn r\u1ed9n ho\u1eb7c c\u00e1c h\u1ec7 th\u1ed1ng th\u01b0\u01a1ng m\u1ea1i \u0111i\u1ec7n t\u1eed c\u00f3 database l\u1edbn h\u00e0ng ch\u1ee5c GB, h\u00e0ng ngh\u00ecn \u0111\u01a1n h\u00e0ng WooCommerce ph\u00e1t sinh li\u00ean t\u1ee5c theo gi\u1edd, ch\u1ec9 m\u1ed9t sai s\u00f3t nh\u1ecf \u1edf b\u01b0\u1edbc ph\u00e2n quy\u1ec1n ho\u1eb7c cache c\u0169ng c\u00f3 th\u1ec3 \u1ea3nh h\u01b0\u1edfng tr\u1ef1c ti\u1ebfp \u0111\u1ebfn doanh thu ch\u1ea1y qu\u1ea3ng c\u00e1o.<\/p><p><strong>C\u00d4NG TY C\u1ed4 PH\u1ea6N DPS.MEDIA<\/strong> cung c\u1ea5p d\u1ecbch v\u1ee5 di chuy\u1ec3n website kh\u00f4ng downtime, n\u00e2ng c\u1ea5p l\u00ean <a href=\"https:\/\/dps.media\/bang-gia-cloud-wordpress-hosting\/\">Cloud WordPress Hosting<\/a> ho\u1eb7c <a href=\"https:\/\/dps.media\/bang-gia-dich-vu-cloud-server-vps\/\">Cloud Server VPS<\/a> hi\u1ec7u n\u0103ng cao, k\u1ebft h\u1ee3p t\u1ed1i \u01b0u t\u1ed1c \u0111\u1ed9 t\u1ea3i trang v\u00e0 b\u1ea3o m\u1eadt chu\u1ea9n Google PageSpeed. N\u1ebfu doanh nghi\u1ec7p c\u1ee7a b\u1ea1n \u0111ang c\u1ea7n l\u00e0m m\u1edbi n\u1ec1n t\u1ea3ng b\u00e1n h\u00e0ng, c\u00f3 th\u1ec3 tham kh\u1ea3o th\u00eam d\u1ecbch v\u1ee5 <a href=\"https:\/\/dps.media\/dich-vu-lam-website-chuan-seo-geo-ai\/\">thi\u1ebft k\u1ebf website chu\u1ea9n SEO & GEO<\/a> \u0111\u1ec3 s\u1eb5n s\u00e0ng \u0111\u00f3n \u0111\u1ea7u l\u01b0u l\u01b0\u1ee3ng t\u00ecm ki\u1ebfm AI.<\/p><table>\n<thead>\n<tr>\n<th>H\u1ea1ng m\u1ee5c so s\u00e1nh<\/th>\n<th>T\u1ef1 chuy\u1ec3n b\u1eb1ng Agent IDE<\/th>\n<th>D\u1ecbch v\u1ee5 Di chuy\u1ec3n & T\u1ed1i \u01b0u H\u1ea1 t\u1ea7ng DPS.MEDIA<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Chi ph\u00ed tri\u1ec3n khai<\/strong><\/td>\n<td>T\u1ef1 \u0111\u1ea7u t\u01b0 th\u1eddi gian k\u1ef9 thu\u1eadt, mi\u1ec5n ph\u00ed c\u00f4ng c\u1ee5<\/td>\n<td>Tr\u1ecdn g\u00f3i minh b\u1ea1ch theo s\u1ed1 l\u01b0\u1ee3ng site (ch\u1ec9 t\u1eeb <strong>500.000\u0111<\/strong>)<\/td>\n<\/tr>\n<tr>\n<td><strong>\u0110\u1ed9 an to\u00e0n d\u1eef li\u1ec7u<\/strong><\/td>\n<td>T\u1ef1 ch\u1ecbu tr\u00e1ch nhi\u1ec7m sao l\u01b0u v\u00e0 ki\u1ec3m tra l\u1ed7i ph\u00e1t sinh<\/td>\n<td>Cam k\u1ebft <strong>Zero Downtime<\/strong>, sao l\u01b0u d\u1ef1 ph\u00f2ng 2 l\u1edbp tr\u01b0\u1edbc khi c\u1eaft chuy\u1ec3n<\/td>\n<\/tr>\n<tr>\n<td><strong>T\u1ed1i \u01b0u sau chuy\u1ec3n \u0111\u1ed5i<\/strong><\/td>\n<td>Gi\u1eef nguy\u00ean hi\u1ec7n tr\u1ea1ng code v\u00e0 t\u1ed1c \u0111\u1ed9 web c\u0169<\/td>\n<td>T\u1ed1i \u01b0u PHP OPcache, Redis Object Cache, c\u1ea5u h\u00ecnh b\u1ea3o m\u1eadt & d\u1ecdn m\u00e3 \u0111\u1ed9c c\u01a1 b\u1ea3n<\/td>\n<\/tr>\n<tr>\n<td><strong>H\u1ed7 tr\u1ee3 & B\u1ea3o h\u00e0nh<\/strong><\/td>\n<td>T\u1ef1 x\u1eed l\u00fd n\u1ebfu g\u1eb7p l\u1ed7i plugin ho\u1eb7c xung \u0111\u1ed9t SSL<\/td>\n<td>K\u1ef9 s\u01b0 DPS.MEDIA theo d\u00f5i 7 ng\u00e0y sau chuy\u1ec3n \u0111\u1ed5i, xu\u1ea5t h\u00f3a \u0111\u01a1n VAT \u0111\u1ea7y \u0111\u1ee7<\/td>\n<\/tr>\n<\/tbody>\n<\/table><h2>6. C\u00e2u H\u1ecfi Th\u01b0\u1eddng G\u1eb7p Khi Chuy\u1ec3n Hosting cPanel B\u1eb1ng Agent IDE (FAQ)<\/h2><h3>Chuy\u1ec3n website cPanel b\u1eb1ng Agent IDE c\u00f3 c\u1ea7n quy\u1ec1n WHM root kh\u00f4ng?<\/h3><p>Kh\u00f4ng. To\u00e0n b\u1ed9 quy tr\u00ecnh \u0111\u1ec1u s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 <code class=\"notranslate no-translate\">uapi<\/code> ch\u1ea1y \u1edf c\u1ea5p \u0111\u1ed9 t\u00e0i kho\u1ea3n cPanel th\u00f4ng th\u01b0\u1eddng k\u1ebft h\u1ee3p SSH Access, ho\u00e0n to\u00e0n ph\u00f9 h\u1ee3p cho c\u00e1c g\u00f3i Shared Hosting th\u00f4ng d\u1ee5ng m\u00e0 kh\u00f4ng c\u1ea7n quy\u1ec1n qu\u1ea3n tr\u1ecb root.<\/p><h3>T\u1ea1i sao kh\u00f4ng n\u00ean \u0111\u01b0a tr\u1ef1c ti\u1ebfp m\u1eadt kh\u1ea9u cPanel cho AI Agent?<\/h3><p>Vi\u1ec7c \u0111\u01b0a m\u1eadt kh\u1ea9u ch\u00ednh l\u00e0m t\u0103ng nguy c\u01a1 l\u1ed9 th\u00f4ng tin qu\u1ea3n tr\u1ecb v\u00e0 kh\u00f3 ki\u1ec3m so\u00e1t quy\u1ec1n truy c\u1eadp sau khi ho\u00e0n t\u1ea5t. S\u1eed d\u1ee5ng SSH Key t\u1ea1m RSA 4096 gi\u00fap b\u1ea1n gi\u1edbi h\u1ea1n phi\u00ean l\u00e0m vi\u1ec7c v\u00e0 c\u00f3 th\u1ec3 b\u1ea5m x\u00f3a key ngay l\u1eadp t\u1ee9c tr\u00ean cPanel sau khi chuy\u1ec3n xong.<\/p><h3>L\u00e0m sao bi\u1ebft website \u0111\u00e3 ch\u1ea1y \u1ed5n tr\u00ean hosting m\u1edbi tr\u01b0\u1edbc khi tr\u1ecf DNS?<\/h3><p>Agent s\u1eed d\u1ee5ng l\u1ec7nh <code class=\"notranslate no-translate\">curl --resolve<\/code> tr\u1ecf gi\u1ea3 l\u1eadp t\u00ean mi\u1ec1n tr\u1ef1c ti\u1ebfp v\u1ec1 IP m\u00e1y ch\u1ee7 m\u1edbi \u0111\u1ec3 ki\u1ec3m tra m\u00e3 HTTP 200, ti\u00eau \u0111\u1ec1 trang v\u00e0 \u0111\u1ed1i chi\u1ebfu dung l\u01b0\u1ee3ng HTML so v\u1edbi m\u00e1y ch\u1ee7 c\u0169. Khi m\u1ecdi th\u00f4ng s\u1ed1 kh\u1edbp 100% m\u1edbi ti\u1ebfn h\u00e0nh c\u1eadp nh\u1eadt b\u1ea3n ghi A tr\u00ean DNS.<\/p><h3>N\u1ebfu website c\u00f3 l\u1ed7i permission ho\u1eb7c b\u1ecb Imunify360 ch\u1eb7n khi s\u1eeda wp-config.php th\u00ec x\u1eed l\u00fd th\u1ebf n\u00e0o?<\/h3><p>Thay v\u00ec t\u1ea1o file PHP t\u1ea1m trong <code class=\"notranslate no-translate\">\/tmp\/<\/code> v\u1ed1n hay b\u1ecb Imunify360 ho\u1eb7c CageFS ch\u1eb7n, h\u00e3y d\u00f9ng l\u1ec7nh <code class=\"notranslate no-translate\">perl -0777 -i -pe<\/code> k\u1ebft h\u1ee3p c\u1ea5p quy\u1ec1n <code class=\"notranslate no-translate\">chmod 644<\/code> tr\u01b0\u1edbc khi s\u1eeda v\u00e0 \u0111\u01b0a v\u1ec1 <code class=\"notranslate no-translate\">chmod 640<\/code> ngay sau khi ho\u00e0n t\u1ea5t.<\/p><h2>7. Th\u00f4ng Tin Li\u00ean H\u1ec7 & H\u1ed7 Tr\u1ee3 K\u1ef9 Thu\u1eadt DPS.MEDIA<\/h2><p>N\u1ebfu b\u1ea1n c\u1ea7n t\u01b0 v\u1ea5n n\u00e2ng c\u1ea5p h\u1ea1 t\u1ea7ng hosting, chuy\u1ec3n \u0111\u1ed5i h\u00e0ng lo\u1ea1t website WordPress an to\u00e0n ho\u1eb7c t\u1ed1i \u01b0u t\u1ed1c \u0111\u1ed9 chu\u1ea9n SEO, h\u00e3y li\u00ean h\u1ec7 tr\u1ef1c ti\u1ebfp v\u1edbi \u0111\u1ed9i ng\u0169 k\u1ef9 thu\u1eadt c\u1ee7a ch\u00fang t\u00f4i:<\/p><ul>\n<li><strong>\u0110\u01a1n v\u1ecb ch\u1ee7 qu\u1ea3n:<\/strong> C\u00d4NG TY C\u1ed4 PH\u1ea6N DPS.MEDIA<\/li>\n<li><strong>\u0110\u1ecba ch\u1ec9:<\/strong> 56 Nguy\u1ec5n \u0110\u00ecnh Chi\u1ec3u, P. T\u00e2n \u0110\u1ecbnh, TP. HCM<\/li>\n<li><strong>Hotline \/ Zalo:<\/strong> <a href=\"tel:0961545445\">0961 545 445<\/a><\/li>\n<li><strong>Email:<\/strong> marketing@dps.media<\/li>\n<li><strong>Website:<\/strong> <a href=\"https:\/\/dps.media\">https:\/\/dps.media<\/a><\/li>\n<li><strong>M\u00e3 s\u1ed1 thu\u1ebf:<\/strong> 0318700500 | <strong>STK Vietcombank:<\/strong> 1051160909<\/li>\n<\/ul><p><script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"TechArticle\",\"headline\":\"C\u00e1ch Chuy\u1ec3n Hosting cPanel H\u00e0ng Lo\u1ea1t B\u1eb1ng Agent IDE: Nhanh, An To\u00e0n, Kh\u00f4ng Downtime [2026]\",\"description\":\"H\u01b0\u1edbng d\u1eabn chuy\u1ec3n h\u00e0ng lo\u1ea1t website WordPress gi\u1eefa c\u00e1c hosting cPanel b\u1eb1ng Agent IDE + SSH + UAPI trong v\u00e0i ph\u00fat, kh\u00f4ng c\u1ea7n WHM root, kh\u00f4ng downtime.\",\"author\":{\"@type\":\"Organization\",\"name\":\"DPS.MEDIA\",\"url\":\"https:\/\/dps.media\"},\"publisher\":{\"@type\":\"Organization\",\"name\":\"C\u00d4NG TY C\u1ed4 PH\u1ea6N DPS.MEDIA\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\/\/dps.media\/wp-content\/uploads\/logo.png\"}},\"image\":\"https:\/\/dps.media\/wp-content\/uploads\/2026\/12\/cpanel_agent_ide_img1_1796116600689.webp\",\"datePublished\":\"2026-12-01\",\"dateModified\":\"2026-12-01\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dps.media\/cach-chuyen-hosting-cpanel-bang-agent-ide\/\"}}<\/script><br>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"Product\",\"name\":\"D\u1ecbch V\u1ee5 Di Chuy\u1ec3n Website & T\u1ed1i \u01afu Hosting cPanel Kh\u00f4ng Downtime\",\"description\":\"D\u1ecbch v\u1ee5 chuy\u1ec3n \u0111\u1ed5i h\u00e0ng lo\u1ea1t website WordPress gi\u1eefa c\u00e1c hosting cPanel ho\u1eb7c l\u00ean Cloud VPS an to\u00e0n, cam k\u1ebft Zero Downtime v\u00e0 t\u1ed1i \u01b0u hi\u1ec7u n\u0103ng b\u1edfi DPS.MEDIA.\",\"sku\":\"DPS-CPANEL-MIGRATE-2026\",\"brand\":{\"@type\":\"Brand\",\"name\":\"DPS.MEDIA\"},\"offers\":{\"@type\":\"Offer\",\"url\":\"https:\/\/dps.media\/cach-chuyen-hosting-cpanel-bang-agent-ide\/\",\"priceCurrency\":\"VND\",\"price\":\"500000\",\"priceValidUntil\":\"2026-12-31\",\"availability\":\"https:\/\/schema.org\/InStock\",\"seller\":{\"@type\":\"Organization\",\"name\":\"C\u00d4NG TY C\u1ed4 PH\u1ea6N DPS.MEDIA\"},\"validFrom\":\"2026-01-01\",\"itemCondition\":\"https:\/\/schema.org\/NewCondition\",\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"applicableCountry\":\"VN\",\"returnPolicyCategory\":\"https:\/\/schema.org\/MerchantReturnFiniteReturnWindow\",\"merchantReturnDays\":30,\"returnMethod\":\"https:\/\/schema.org\/ReturnByMail\",\"returnFees\":\"https:\/\/schema.org\/FreeReturn\"},\"shippingDetails\":{\"@type\":\"OfferShippingDetails\",\"shippingRate\":{\"@type\":\"MonetaryAmount\",\"value\":\"0\",\"currency\":\"VND\"},\"shippingDestination\":{\"@type\":\"DefinedRegion\",\"addressCountry\":\"VN\"},\"deliveryTime\":{\"@type\":\"ShippingDeliveryTime\",\"handlingTime\":{\"@type\":\"QuantitativeValue\",\"minValue\":0,\"maxValue\":1,\"unitCode\":\"DAY\"},\"transitTime\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":3,\"unitCode\":\"DAY\"}}}},\"image\":\"https:\/\/dps.media\/wp-content\/uploads\/2026\/12\/cpanel_agent_ide_img1_1796116600689.webp\",\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":\"4.9\",\"reviewCount\":\"128\",\"bestRating\":\"5\",\"worstRating\":\"1\"},\"review\":[{\"@type\":\"Review\",\"author\":{\"@type\":\"Person\",\"name\":\"Nguy\u1ec5n Ho\u00e0ng Nam\"},\"datePublished\":\"2026-01-15\",\"reviewBody\":\"D\u1ecbch v\u1ee5 uy t\u00edn, tri\u1ec3n khai nhanh v\u00e0 h\u1ed7 tr\u1ee3 t\u1eadn t\u00e2m.\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":\"5\",\"bestRating\":\"5\",\"worstRating\":\"1\"}}]}<\/script><br>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"FAQPage\",\"mainEntity\":[{\"@type\":\"Question\",\"name\":\"Chuy\u1ec3n website cPanel b\u1eb1ng Agent IDE c\u00f3 c\u1ea7n quy\u1ec1n WHM root kh\u00f4ng?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Kh\u00f4ng. To\u00e0n b\u1ed9 quy tr\u00ecnh \u0111\u1ec1u s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 uapi ch\u1ea1y \u1edf c\u1ea5p \u0111\u1ed9 t\u00e0i kho\u1ea3n cPanel th\u00f4ng th\u01b0\u1eddng k\u1ebft h\u1ee3p SSH Access, ho\u00e0n to\u00e0n ph\u00f9 h\u1ee3p cho c\u00e1c g\u00f3i Shared Hosting th\u00f4ng d\u1ee5ng m\u00e0 kh\u00f4ng c\u1ea7n quy\u1ec1n qu\u1ea3n tr\u1ecb root.\"}},{\"@type\":\"Question\",\"name\":\"T\u1ea1i sao kh\u00f4ng n\u00ean \u0111\u01b0a tr\u1ef1c ti\u1ebfp m\u1eadt kh\u1ea9u cPanel cho AI Agent?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Vi\u1ec7c \u0111\u01b0a m\u1eadt kh\u1ea9u ch\u00ednh l\u00e0m t\u0103ng nguy c\u01a1 l\u1ed9 th\u00f4ng tin qu\u1ea3n tr\u1ecb v\u00e0 kh\u00f3 ki\u1ec3m so\u00e1t quy\u1ec1n truy c\u1eadp sau khi ho\u00e0n t\u1ea5t. S\u1eed d\u1ee5ng SSH Key t\u1ea1m RSA 4096 gi\u00fap b\u1ea1n gi\u1edbi h\u1ea1n phi\u00ean l\u00e0m vi\u1ec7c v\u00e0 c\u00f3 th\u1ec3 b\u1ea5m x\u00f3a key ngay l\u1eadp t\u1ee9c tr\u00ean cPanel sau khi chuy\u1ec3n xong.\"}},{\"@type\":\"Question\",\"name\":\"L\u00e0m sao bi\u1ebft website \u0111\u00e3 ch\u1ea1y \u1ed5n tr\u00ean hosting m\u1edbi tr\u01b0\u1edbc khi tr\u1ecf DNS?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Agent s\u1eed d\u1ee5ng l\u1ec7nh curl --resolve tr\u1ecf gi\u1ea3 l\u1eadp t\u00ean mi\u1ec1n tr\u1ef1c ti\u1ebfp v\u1ec1 IP m\u00e1y ch\u1ee7 m\u1edbi \u0111\u1ec3 ki\u1ec3m tra m\u00e3 HTTP 200, ti\u00eau \u0111\u1ec1 trang v\u00e0 \u0111\u1ed1i chi\u1ebfu dung l\u01b0\u1ee3ng HTML so v\u1edbi m\u00e1y ch\u1ee7 c\u0169. Khi m\u1ecdi th\u00f4ng s\u1ed1 kh\u1edbp 100% m\u1edbi ti\u1ebfn h\u00e0nh c\u1eadp nh\u1eadt b\u1ea3n ghi A tr\u00ean DNS.\"}},{\"@type\":\"Question\",\"name\":\"N\u1ebfu website c\u00f3 l\u1ed7i permission ho\u1eb7c b\u1ecb Imunify360 ch\u1eb7n khi s\u1eeda wp-config.php th\u00ec x\u1eed l\u00fd th\u1ebf n\u00e0o?\",\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Thay v\u00ec t\u1ea1o file PHP t\u1ea1m trong \/tmp\/ v\u1ed1n hay b\u1ecb Imunify360 ho\u1eb7c CageFS ch\u1eb7n, h\u00e3y d\u00f9ng l\u1ec7nh perl -0777 -i -pe k\u1ebft h\u1ee3p c\u1ea5p quy\u1ec1n chmod 644 tr\u01b0\u1edbc khi s\u1eeda v\u00e0 \u0111\u01b0a v\u1ec1 chmod 640 ngay sau khi ho\u00e0n t\u1ea5t.\"}}]}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>H\u01b0\u1edbng d\u1eabn chuy\u1ec3n h\u00e0ng lo\u1ea1t website WordPress gi\u1eefa c\u00e1c hosting cPanel b\u1eb1ng Agent IDE + SSH + UAPI trong v\u00e0i ph\u00fat, kh\u00f4ng c\u1ea7n WHM root, kh\u00f4ng downtime.<\/p>","protected":false},"author":0,"featured_media":41933,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"rs_blank_template":"","rs_page_bg_color":"","slide_template_v7":"","footnotes":""},"categories":[1933,2632],"tags":[675],"class_list":["post-41936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","category-web-hosting","tag-dps-media"],"acf":[],"rankmath_keywords":{"primary":"chuy\u1ec3n hosting cPanel b\u1eb1ng Agent IDE, chuy\u1ec3n website gi\u1eefa hai hosting cPanel, cPanel UAPI, di chuy\u1ec3n WordPress kh\u00f4ng downtime","secondary":["chuy\u1ec3n website gi\u1eefa hai hosting cPanel","cPanel UAPI","di chuy\u1ec3n WordPress kh\u00f4ng downtime"]},"yoast_keywords":{"primary":"","secondary":[]},"yoast_focuskw":"","rankmath_focuskw":"chuy\u1ec3n hosting cPanel b\u1eb1ng Agent IDE, chuy\u1ec3n website gi\u1eefa hai hosting cPanel, cPanel UAPI, di chuy\u1ec3n WordPress kh\u00f4ng downtime","seo_keywords":{"primary":"chuy\u1ec3n hosting cPanel b\u1eb1ng Agent IDE, chuy\u1ec3n website gi\u1eefa hai hosting cPanel, cPanel UAPI, di chuy\u1ec3n WordPress kh\u00f4ng downtime","secondary":["chuy\u1ec3n website gi\u1eefa hai hosting cPanel","cPanel UAPI","di chuy\u1ec3n WordPress kh\u00f4ng downtime"]},"_links":{"self":[{"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/posts\/41936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/comments?post=41936"}],"version-history":[{"count":1,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/posts\/41936\/revisions"}],"predecessor-version":[{"id":41937,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/posts\/41936\/revisions\/41937"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/media\/41933"}],"wp:attachment":[{"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/media?parent=41936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/categories?post=41936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dps.media\/zh\/wp-json\/wp\/v2\/tags?post=41936"}],"curies":[{"name":"\u4f18\u5316\u56fe\u50cf\uff0c\u6253\u9020\u4e13\u4e1a\u8bbe\u8ba1","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}