{"id":10696,"date":"2026-05-18T08:37:15","date_gmt":"2026-05-18T08:37:15","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=10696"},"modified":"2026-10-30T06:43:28","modified_gmt":"2026-10-30T06:43:28","slug":"how-to-restore-a-deleted-temporary-website","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-restore-a-deleted-temporary-website\/","title":{"rendered":"How to restore a deleted temporary website"},"content":{"rendered":"<p>Restore a deleted temporary website in Hostinger by creating a new website on a new temporary domain, restoring the old website&rsquo;s files and database from the same backup date, and renaming the restored folder to match the new domain. A deleted temporary domain name can&rsquo;t be recreated, so this method moves your old data under a new temporary domain, as long as unexpired backups are available.<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">You might also need to restore the contents of a temporary website after connecting it to a custom domain.<\/div><h3>Pre-requisites<\/h3><ul>\n<li>Access to your Hostinger dashboard.<\/li>\n<li>Available unexpired backups from the deleted website.<\/li>\n<\/ul><h2 id=\"h-step-1-generate-a-new-temporary-domain\">Step 1 &ndash; Generate a new temporary domain<\/h2><p>Since you cannot reuse the old automatically assigned string, you must start fresh with a clean slate:<\/p><ol>\n<li>Log in to your Hostinger dashboard and navigate to the <a data-click-id=\"hgr-post-content-link-websites\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a> section.<\/li>\n<li>Click on the<strong> Create site<\/strong> button.<\/li>\n<li>Select <strong>PHP\/HTML website<\/strong> from the application type options.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-21976\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/public\" alt=\"\" width=\"1129\" height=\"618\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=1129,fit=scale-down 1129w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/10\/2026-10-28_15-05.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1129px) 100vw, 1129px\" \/><\/li>\n<li>Choose the option to Use a temporary domain name.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10698\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25.png\/public\" alt=\"\" width=\"1382\" height=\"855\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25.png\/w=1382,fit=scale-down 1382w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1382px) 100vw, 1382px\" \/><\/li>\n<li>Continue through the remaining setup screens until a new, empty website is active on your dashboard.<\/li>\n<\/ol><h2 id=\"h-step-2-restore-your-deleted-websites-files\">Step 2 &ndash; Restore your deleted website&rsquo;s files<\/h2><p>Next, you need to pull your old website&rsquo;s folder structure out of the system backups and into your server directory.<\/p><ol>\n<li>Go to the Files section in Hostinger dashboard and select <strong>Backups<\/strong>.<\/li>\n<li>Click on <strong>File backups<\/strong> and choose a backup date from before the website was deleted. Note this date, because the database backup you restore in Step 4 must be from the same date.<\/li>\n<li>Select the <strong>Show files<\/strong> toggle option.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10699\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25_1.png\/public\" alt=\"\" width=\"1147\" height=\"357\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25_1.png\/w=1147,fit=scale-down 1147w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25_1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25_1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-25_1.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/li>\n<li>When the list of files shows up, click on&nbsp;<code>domains.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10701\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-28.png\/public\" alt=\"\" width=\"1149\" height=\"466\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-28.png\/w=1149,fit=scale-down 1149w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-28.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-28.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-28.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1149px) 100vw, 1149px\" \/><\/code><\/li>\n<li>Check the box directly next to the folder named after your deleted temporary domain.<\/li>\n<li>Confirm and click <strong>Restore selected<\/strong>. Wait for the system to complete the recovery.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10702\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-29.png\/public\" alt=\"\" width=\"1170\" height=\"762\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-29.png\/w=1170,fit=scale-down 1170w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-29.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-29.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-29.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/li>\n<\/ol><h2 id=\"h-step-3-remap-the-directories-via-file-manager\">Step 3 &ndash; Remap the directories via File Manager<\/h2><p>Once restored, you will have two folders inside your server: your newly created empty temporary site and your old recovered site data. You must swap their identities so the new domain points to the old data.<\/p><ol>\n<li>Open the File Manager, ensuring you select the option to see <strong>the files for your entire hosting plan<\/strong> (the root directory), rather than a single site environment.<\/li>\n<li>Navigate into the domains folder.<\/li>\n<li>Locate the folder belonging to your newly generated temporary domain and rename it by appending a suffix (e.g., rename newsite.hostinger-site.com to newsite.hostinger-site.com-original).<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10703\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/public\" alt=\"\" width=\"1591\" height=\"780\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/w=1591,fit=scale-down 1591w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-33.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 1591px) 100vw, 1591px\" \/><\/li>\n<li>Locate the recovered folder belonging to your deleted website (e.g., oldsite.hostinger-site.com).<\/li>\n<li>Rename that old folder to match your new temporary domain exactly (e.g., newsite.hostinger-site.com).<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10704\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/public\" alt=\"\" width=\"1595\" height=\"791\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/w=1595,fit=scale-down 1595w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-34.png\/w=1536,fit=scale-down 1536w\" sizes=\"(max-width: 1595px) 100vw, 1595px\" \/><\/li>\n<\/ol><h2 id=\"h-step-4-database-configuration-and-adjustments\">Step 4 &ndash; Database configuration and adjustments<\/h2><p>If your temporary website was a dynamic application (like WordPress) or used configuration variables, you must wrap up the setup:<\/p><ol>\n<li>Navigate to <strong>Backups<\/strong> to <a data-click-id=\"hgr-post-content-link-restore-the-database\" href=\"\/support\/4283700-how-to-restore-backups-at-hostinger\/\">restore the database<\/a> associated with your old site if needed. Choose the same backup date you selected for the website files.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-10705\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-35.png\/public\" alt=\"\" width=\"1245\" height=\"430\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-35.png\/w=1245,fit=scale-down 1245w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-35.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-35.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-18_15-35.png\/w=768,fit=scale-down 768w\" sizes=\"(max-width: 1245px) 100vw, 1245px\" \/><\/li>\n<li>Open your configuration files (such as wp-config.php or .env) using the File Manager.<\/li>\n<li>Update any hardcoded entries of your old temporary domain to reflect your new temporary domain string so styles and links load correctly.<\/li>\n<\/ol><p>After migrating the website from a temporary domain to another, it&rsquo;s crucial to <b>update the site URL <\/b>throughout the whole website. If it&rsquo;s a<b> WordPress<\/b> website, you can use the <b>Search and Replace<\/b> function by following this tutorial: <b><a data-click-id=\"hgr-post-content-link-how-to-perform-a-wordpress-search-and-replace-in-the-databas\" class=\"intercom-content-link\" href=\"\/tutorials\/how-to-run-wordpress-database-search-and-replace\/\" target=\"_blank\" rel=\"noopener\">How to Perform a WordPress Search and Replace in the Database<\/a><\/b><\/p><p>By shifting your restored backup files under the identity of a new temporary domain, you can fully salvage your work. Your site files will now load seamlessly through the newly generated link.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li><strong>Empty Directory<\/strong>: The folder you appended -original to can be safely deleted via the File Manager once you verify the restored site works, as it contains no data.<\/li>\n<li><strong>Database Links<\/strong>: Remember to update URLs inside your database using a plugin or script if your restored site relies on absolute links matching the old temporary URL.<\/li>\n<li><strong>Backup Lifetime:<\/strong> Temporary site backups follow standard hosting retention policies. If no backups appear in the dashboard, the data can no longer be recovered.<\/li>\n<\/ul><p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Restore a deleted temporary website in Hostinger: create a new temporary domain, restore the old files from backups, and rename the folder.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[236],"tags":[],"class_list":["post-10696","post","type-post","status-publish","format-standard","hentry","category-backups-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-restore-a-deleted-temporary-website","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10696","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\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=10696"}],"version-history":[{"count":9,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10696\/revisions"}],"predecessor-version":[{"id":23971,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10696\/revisions\/23971"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=10696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=10696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=10696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}