Custom Maintenance Folder and Content
When your website is taken offline for maintenance or unavailable, it will 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 designing your own maintenance content, you can continue to communicate your brand message even when your site is offline. If you do not upload your own custom maintenance content, NetSuite displays a generic maintenance page.
If you have been assigned the Administrator role, you can specify 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 to store your domain’s maintenance content.
-
In Folder Name, enter the name of your maintenance content folder.
-
Enter any other information as required.
-
Click Save.
-
Upload the assets for your site maintenance page to your maintenance content folder by clicking Add File or Advanced Add. There is a 10 MB size limit to the folder you use for hosting your site maintenance page.
Note:Your assets must include a file named 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. Note that SSP files and touch points are not supported. Also, SuiteScript is not 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 from 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 in the process for setting up a maintenance folder and content.
-
Go to Commerce > Hosting > Domains.
-
Click Edit next to your domain and 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 is a lag time of about five minutes before you can view changes to your maintenance page.