Custom Maintenance Folder and Content
When your website goes offline for maintenance or isn't available, it'll redirect to a URL on your web store domain. For example, https://< web store domain>/website-temporarily-unavailable.
You can create and upload custom site maintenance content to display in the following situations:
-
While you complete routine updates
-
During NetSuite scheduled maintenance periods
By creating your own maintenance content, you can continue to communicate your brand message even when your site is offline. If you don't upload custom maintenance content, NetSuite displays a generic maintenance page.
If you're an Administrator, you can set a File Cabinet folder as your domain's maintenance content folder.
To set up a maintenance folder and content:
-
In NetSuite, go to Documents > Files > File Cabinet.
-
On the left navigation pane, go to Web Site Hosting Files > Live Hosting Files.
-
Click New Folder to create a new folder for your domain’s maintenance content.
-
In Folder Name, enter the name of your maintenance content folder.
-
Enter any other information you need.
-
Click Save.
-
Upload your site maintenance page assets to your maintenance content folder by clicking Add File or Advanced Add. There's a 10 MB size limit for the folder you use.
Note:Your assets need to include a file called index.html.
Note:All files in your site maintenance folder are publicly accessible using the site maintenance URL, https://< web store domain>/website-temporarily-unavailable. SSP files and touch points aren't supported, and SuiteScript doesn't run on files in the maintenance content folder.
-
Designate your maintenance content folder.
-
Go to Commerce > Hosting > Domains (Administrator).
-
Click Edit next to your domain and then go to the Advanced area of the Domain page.
-
From Maintenance Content Folder, select the maintenance folder you created in Steps 1 to 6.
-
Click Save.
-
If you use multiple websites, you can create a different site maintenance content folder for each website domain.
After you enter your new maintenance content folder in NetSuite, it can take 5 to 30 minutes to display your content online. To preview your maintenance page, open a new browser and go directly to the site maintenance URL. For example, go to https://example.com/website-temporarily-unavailable.
To change your maintenance content folder:
-
Create a new maintenance content folder in the NetSuite File Cabinet by following Steps 1 to 7 from the setup process.
-
Go to Commerce > Hosting > Domains.
-
Click Edit next to your domain, then go to the Advanced area of the Domain page.
-
From Maintenance Content Folder, select the new folder you created.
-
Click Save.
Any time you edit your maintenance content folder, or its contents, there's about a five-minute delay before you see changes to your maintenance page.