Sometime there might be a requirement to included "www." when accessing a web service. While this would normally be achieved using DNS entries. It can be configured on a Virtual Service. For this article we will already have a HTTP Virtual Service created.
Create a content rule with the following settings.
1. Add the rule to the Virtual Service under the Advanced Properties section.
2. Configure the Not available Redirection Handling options.
The expect flow of traffic is as follows. Client types domain.com into a browser. This hits the Virtual Service and the content rule is triggered, causing the Not Available Redirection Handling to redirect the client to http://www.domian.com.