How To: Custom Block Pages

Block pages are shown when an attempt is made to reach a blocked site. You can use custom block pages to show a message to users, show the organization logo and direct users to contact help desk.

Rawstream block pages are completely customizable: they can contain HTML, CSS, link to external resources such as images, logos and style sheets.

Note: do not add <HTML> <HEAD> or <BODY> tags – they are added automatically.

Cloud DNS Block Page

Cloud DNS block pages are set per-network. To set a block page for a network: Settings > Networks, select the network from the drop down, click Action tab, enter the HTML for the block page, then Save Settings.

Setting the Cloud DNS block page.

Setting the Cloud DNS block page.

Cloud DNS Supported Tags

The below tags are supported in Cloud DNS block pages. You may want to include them as they can be an aid to debugging a policy.

[[DOMAINNAME]] – the blocked domain name
[[SITECATEGORY]] – the site’s category
[[NETWORKNAME]] – the name of the network

 

Rawstream Agent Block Page

Rawstream for Windows and Rawstream for Chrome also support custom block pages. To set the block page shown by the agents: Settings > Users > Internet Policies, click Set Block Page tab, enter the HTML block page then Save block page.

Click View block page to preview the block page.

Setting the agent's block page.

Setting the agent’s block page.

Agent Supported Tags

The below tags are supported in the agent block pages:

[[DOMAINNAME]] – blocked domain name
[[MATCHEDPOLICY]] – title of policy that blocked access

Related posts

How To: Redirecting blocked users to another page

In our previous blog post we talked about custom block pages. Following that post we received a question about how to redirect blocked users to a domain or page. Rawstream supports any valid HTML content as a block page, including Javascript. Using Javascript it is very simple to redirect...

Blocking Peer-to-Peer downloads with Cloud DNS filtering

P2p downloads soak up bandwidth and expose WiFi providers to legal risk. To deal with this risk most providers make the sensible decision to install some sort of web filtering product, usually DNS based filtering because its quick and simple to install. Most web filtering software on the...

Enforce Safety Mode for YouTube With Rawstream DNS

Rawstream allows you to enforce YouTube's Safety Mode with Rawstream DNS. Millions of hours of video are uploaded to YouTube everyday. Most content is irrelevant but some content has educational value. Use Rawstream's Safety Mode to remove mature content and content which has been age...