{"id":464,"date":"2024-11-06T16:54:32","date_gmt":"2024-11-06T16:54:32","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2024\/11\/06\/10091923-how-to-migrate-your-website-from-vps-to-shared-hosting-on-hostinger\/"},"modified":"2026-11-25T09:19:10","modified_gmt":"2026-11-25T09:19:10","slug":"10091923-how-to-migrate-your-website-from-vps-to-web-hosting-on-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/10091923-how-to-migrate-your-website-from-vps-to-web-hosting-on-hostinger\/","title":{"rendered":"How to migrate your website from VPS to web hosting on Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Migrating your website from a VPS plan to Web Hosting on Hostinger is a straightforward process. This guide will walk you through each step to ensure a smooth transition.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">This article is part of <a data-click-id=\"hgr-post-content-link-how-to-move-a-website-within-hostinger\" href=\"\/support\/move-website-within-hostinger\/\">how to move a website within Hostinger<\/a>. If you&#8217;re moving between other plan types or accounts instead, start there to find the right method for your situation.<\/div>\n<h2 id=\"h_ad1d36ed99\"><b>Step 1 &#8211; Prepare for migration<\/b><\/h2>\n<p class=\"no-margin\">Before you start the migration process, make sure to:<\/p>\n<ul>\n<li>\n<p class=\"no-margin\"><b>Check resource requirements<\/b> to ensure that your website can perform optimally on a Web Hosting plan.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Review limitations<\/b> of Web Hosting to confirm compatibility (e.g., software compatibility, resource limits).<\/p>\n<\/li>\n<\/ul>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">VPS offers full control and flexibility, while Web Hosting may have restrictions on certain scripts and resource-intensive applications.<\/p>\n<\/div>\n<h2 id=\"h_dfb8077a99\"><b>Step 2 &#8211; Download files and databases from VPS<\/b><\/h2>\n<ol>\n<li>\n<p class=\"no-margin\"><b>Connect to your VPS via SSH:<\/b><br \/>\nin your terminal enter this command, with your VPS IP address.<\/p>\n<pre><code>ssh root@your-ip-address\u200b<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Find your website directory:<br \/>\n\u200b<\/b>To locate your directory, use this command:<\/p>\n<pre><code>\u200bfind \/ -type d -name \"your_website_directory\"\u200b<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Compress your website files:<br \/>\n\u200b<\/b>Compress all website files into a .zip file:<\/p>\n<pre><code>\u200bzip -r file_name.zip path\/to\/your\/directory<\/code><\/pre>\n<p class=\"no-margin\">If you see <code>zip: command not found<\/code>, install zip with:\u200b<\/p>\n<pre><code>\u200bsudo apt-get install zip\u200b<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Download the compressed file to your local device:<br \/>\n\u200b<\/b>Run this command on your <b>local machine\u2019s terminal<\/b> (not on the VPS), changing <code>your_vps_ip<\/code> with your actual IP:<\/p>\n<pre><code>\u200bscp root@your_vps_ip:\/path\/to\/file_name.zip \/local\/path\/\u200b<\/code><\/pre>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Export your database:<br \/>\n\u200b<\/b>Create a backup of your database:<\/p>\n<pre><code>\u200bmysqldump -u root -p database_name &gt; backup_name.sql<\/code><\/pre>\n<p class=\"no-margin\">You will be prompted to enter your password, you should enter your <b>mysql<\/b> <b>password<\/b> for the specified user.<\/p>\n<div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\u200bWhile you are entering the password, <b>it will seem that nothing is being typed<\/b> <b>in the terminal<\/b>. It\u2019s a common security practice.<\/div>\n<\/li>\n<li>\n<p class=\"no-margin\"><b>Download the database backup:<br \/>\n\u200b<\/b>Again, on your <b>local machine\u2019s terminal <\/b>(not on the VPS), run:<\/p>\n<pre><code>\u200bscp root@your_vps_ip:\/path\/to\/backup_name.sql \/local\/path\/\u200b<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"h_d3dbc88c16\"><b>Step 3 &#8211; Set up your web hosting environment<\/b><\/h2>\n<h3>Option A &#8211; <a data-click-id=\"hgr-post-content-link-create-migration-request\" href=\"\/support\/4455931-how-to-migrate-a-website-to-hostinger\/\">Create migration request<\/a><\/h3>\n<ol>\n<li>\n<p class=\"no-margin\"><b>Log in to Hostinger dashboard<\/b> and open your Web Hosting plan.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Go to the Website section then click<b> Import site<\/b>, choose <strong>Upload your website files.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-22313\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-29_17-01.png\/public\" alt=\"\" width=\"853\" height=\"282\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-29_17-01.png\/w=853,fit=scale-down 853w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-29_17-01.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-29_17-01.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 853px) 100vw, 853px\" \/><br \/>\n<\/strong><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Upload your website <b>backup files<\/b> (don\u2019t forget the database file)<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-19406\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-01_19-52.png\/public\" alt=\"\" width=\"1197\" height=\"402\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-01_19-52.png\/w=1197,fit=scale-down 1197w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-01_19-52.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-01_19-52.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-01_19-52.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1197px) 100vw, 1197px\" \/><\/div>\n<\/li>\n<\/ol>\n<h3 id=\"h_34716dcf2d\">Option B &#8211; Upload files and import database manually<\/h3>\n<ol>\n<li>\n<p class=\"no-margin\"><b>Log in to Hostinger dashboard<\/b> and open your Web Hosting plan.<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Go to <a data-click-id=\"hgr-post-content-link-file-manager\" href=\"\/support\/4548688-basic-actions-in-the-file-manager-in-hostinger\/\"><b>File Manager<\/b><\/a> and <a data-click-id=\"hgr-post-content-link-upload-your-website-files\" href=\"\/support\/1869114-how-to-upload-backups-with-file-manager-in-hostinger\/\"><b>upload your website files<\/b><\/a> to the <code>\/public_html<\/code> directory.<\/p>\n<\/li>\n<li><a data-click-id=\"hgr-post-content-link-create-a-new-database\" href=\"\/support\/1583542-how-to-create-a-new-mysql-database-in-hostinger\/\"><b>Create a new database<\/b><\/a> for your website by going to <b>Databases<\/b> in the side menu, clicking <b>Add database<\/b> \u2192 <b>Create a new database<\/b> \u2192 <b>Continue<\/b>, and entering a new database name, username, and password.<img decoding=\"async\" class=\"alignnone size-full wp-image-26013\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-19.png\" alt=\"\" width=\"552\" height=\"517\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-19.png 552w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/11\/2026-11-25_15-19-300x281.png 300w\" sizes=\"(max-width: 552px) 100vw, 552px\" \/><\/li>\n<li>\n<p class=\"no-margin\"><a data-click-id=\"hgr-post-content-link-import-your-database\" href=\"\/support\/1884149-how-to-import-a-database-with-phpmyadmin-in-hostinger\/\"><b>Import your database<\/b><\/a>:<\/p>\n<\/li>\n<\/ol>\n<ul>\n<li>Click <b>phpMyAdmin<\/b> next to the database on the <b>Databases<\/b> page in Hostinger dashboard.<\/li>\n<li>\n<p class=\"no-margin\">Select your newly created database and import the <code>.sql<\/code> file from your local device.<br \/>\n\u200b<\/p>\n<div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2024\/11\/b5e961b1-af9c-4c11-b509-8f4f62c51018.jpg\/public\" alt=\"phpMyAdmin import page with file upload field highlighted\" data-media-id=\"2249\" \/><\/div>\n<\/li>\n<\/ul>\n<h2 id=\"h_2ef922f595\"><b>Step 4 &#8211; Update configuration files<\/b><\/h2>\n<p class=\"no-margin\"><b>Edit your configuration file<\/b> (e.g., <code>wp-config.php<\/code> for WordPress or <code>config.php<\/code> for other CMSs) to reflect the new database details:<\/p>\n<p class=\"no-margin\">Update database name, username, and password with the one\u2019s created in <b>Hostinger dashboard<\/b>.<\/p>\n<h2 id=\"h_dc2ec076fa\"><b>Step 5 &#8211; Final checks<\/b><\/h2>\n<p class=\"no-margin\">Monitor your website\u2019s performance to ensure it\u2019s stable on Web Hosting. If everything looks good, you\u2019re all set!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two simple ways how to migrate from VPS to a Web Hosting on Hostinger<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_content_updated_date":"","include_on_kodee":true,"footnotes":""},"categories":[275],"tags":[],"class_list":["post-464","post","type-post","status-publish","format-standard","hentry","category-other-website"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/10091923-how-to-migrate-your-website-from-vps-to-web-hosting-on-hostinger","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=464"}],"version-history":[{"count":12,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/464\/revisions"}],"predecessor-version":[{"id":26046,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/464\/revisions\/26046"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}