Using Instant Websites
Enabling Instant Websites for a Confluence Space
Space Administrators can access 'Instant Websites' via Space Tools -> Integrations:
Enable Instant Websites for a Space
Space Administrators can enable Instant Websites for their space. You will be asked for the URL of the publicly accessible address, for example my.domain.com.
Point the public domain to Instant Websites
Once Instant Websites is enabled for a space we provide a domain name where the static content is stored, for example docs.glintech.com.s3-website-us-east-1.amazonaws.com.
To host this website on your own domain (e.g. docs.glintech.com), you'll need to update or create a CNAME with your DNS provider and point that to the Instant Websites hostname.
A CNAME is alias from one domain name to another. It allows us to host your website on Amazon S3 (super fast), and have it load from on domain name. You can read more here. Since the sites are hosted on AWS S3, your hostname should be the DNS compliant hostname that you eventually want to be able to access your site from. To understand more about the technical behaviour of this, take a look at Amazon's S3 documentation.
Configuring the Instant Website
You've got complete control of how the Instant Website looks via Custom CSS.
See Customer Examples for inspiration.
Add additional analytics codes or your own actions and behaviour using Custom JS.
Upload the logo of your choice. By default, the logo will be displayed at 40 pixels high on a white background. You can change the header background colour to match the logo background colour with Custom CSS (below). It is recommended you resize your logo to be 80 pixels high to render well on retina screens and ensure the logo is less than 40KB.
Upload the favicon of your choice. It is recommended that your favicon be 96 x 96 pixels, and it must be less than 40KB.
Also, we suggest optimising the favicon image before uploading as the image is currently not automatically resized and may cause problems.
Add a Google Analytics site ID to the Instant Website to track usage, popular pages and referrals.
Instant Websites now supports Google Analytics 4 so IDs starting with both UA- and G- are accepted.
The Metadata configuration page allows you to configure complementary files to your Instant Website. These include a sitemap and any redirects that you need.
By enabling Sitemap, a sitemap.xml will be generated. A sitemap.xml file is used by search engines for indexing.
Configure Redirects NEW!
When your Instant Website has been published for some time, it can be difficult to restructure your site without creating a number of 404 (page-not-found errors). To help in this scenario, we have introduced some redirect configuration which will allow you to point an old page URL, to a new one. This is helpful for pages that have moved in the page-tree or have been deleted.
The redirect configuration allows you to list a source and a destination:
- Set the 'Source' field to the Confluence page title or its relative path within your Instant Website.
- Set the 'Redirect To' field to the relative path or full URL of the new destination. (This field is always a value from the published Instant Website.)
I would like to redirect users from the old "Private Statement" page to the new page under the "Legal" page.
1.Using the page title for source and relative path for destination
|2.Using the relative path for source and full URL for destination||/privacy-statement|
|3.Using the relative path for both source and destination||/privacy-statement|
Starting over? Finished with your evaluation? Delete your site using the Delete Website tab. This will delete your hostname and content from the AWS S3 bucket.
You can work on drafts privately by restricting permissions to a group, for instance 'employees'. The Instant Websites service account will not be able to see the page and as such won't publish it to the website.
The behaviour is the same with regular per-user drafts - as they are not published on Confluence they are not visible on the website. Although in this scenario you can not collaborate with others as the drafts are private to one user.
Get the most out of the search functionality by adding labels to a page. Labels help drive search results and will assist your end-users in finding the right content.