3

We have a Force.com domain say my-domain.force.com and several sites there. I know that you can set error pages for each of those sites for example you can display your own page when someone will try to access my-domain.force.com/mysite/[unexisting page].

But can you somehow set or change error page for your Force.com domain which will be displayed when you try to access my-domain.force.com/[unexisting site]? It is strange that I can`t find the page that is currently displayed in this situation in my org. It shows page that one of our sites is under construction but we do not have such a page now.

Thanks!

  • I think it defaults to the FileNotFound Visualforce Page, I'm just messing around with one of my sites to confirm. – Girbot Dec 12 '14 at 17:05
  • Hi Girbot, I`ve checked this one but changing that page does not change what you actually see so I think it is not that page. – Oles Malkov Dec 15 '14 at 9:50
  • Salesforce support told that you can`t set it at domain level. – Oles Malkov Jan 27 '15 at 12:48
  • Can you please use the contact us link to request this account be merged with your other account? – Adrian Larson Jun 9 '17 at 14:58
0

See Assigning Force.com Site Error Pages in Help. You can upload pages to static resources to do what you're asking about. It sounds like you're asking about one of these three pages:

  • Maintenance Page—The page users see when your site is down for maintenance.
  • Service Not Available Page—The page users see when Salesforce servers are unavailable. This custom page is rendered from a static resource that you choose. The static resource is uploaded to the cache server when assigned as the Service Not Available page, and when updated after assignment. The custom page is shown for HTTP requests only; caching is not used for HTTPS. Not available for Developer Edition or sandbox organizations.
  • Page Not Found Page—The page users see when trying to access a page that cannot be found. You can use the action attribute on an component to redirect the Page Not Found error page. Using this kind of redirect on any other error pages will redirect users to the Maintenance page.
  • Hi crmprogdev, thanks for your reply but it is not actually what I`m asking about. All that is possible for a Force.com SITE but I`m asking for DOMAIN. In the link you`ve posted I see step 2 "Click the name of the site you want to modify." But I`m trying to find error page that is domain-wide, I know how to set pages for a certain site. I need to find error page such as [your domain]/[unexisting page/site] not [your domain]/[your site]/[unexisting page]. – Oles Malkov Dec 15 '14 at 9:20
  • Thank you for the clarification. You need to do that with your Domain Host. The page you're seeing is likely coming from your Domain Host since it's at the root of the link someone is trying to find. Normally a Domain Host will allow you to set up those kinds of pages and customize them. Those won't be served by salesforce, but instead by the Domain Host. – crmprogdev Dec 15 '14 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.