1. Help Center
  2. Build
  3. Create a Server-Side Campaign

Building a Release Test Using Alternative Origin

The alternate origin feature can be used to progressively rollout a new infrastructure, or to rollout a new release.

When you need to evaluate a new release of your website or a deployment to an entirely new server, SiteSpect allows you to test these scenarios using our Alternate Origin capability. For example, let's say you are developing a new website and you want to test it. You've got your usual production environment (www.site.com), which you want to test against this new environment (say www.adifferentsite.com). You can create a Campaign that will test the two environments against each other on your live traffic. The following example describes how.

The steps look like this at a high level:

  1. SiteSpect Professional Services configures the alternative proxy domain.
  2. A SiteSpect user then creates an Origin Experiment variation.
  3. Validate that the alternate origin is accepting traffic from SiteSpect.

Here is another page that describes how Alternative Proxy works.

1. Configure the alternative proxy domain

SiteSpect Professional Services will set up this step for you. Once configured, you can select this URL in variations using the Alternative Origin option.

Specify the protocol, domain, and (optional) path that you want to use as an alternate origin.

For example, you have a new version of your website that you want to test. Your new site lives in a different environment (www2.mysite.com) from your production site (http://www.mysite.com). In this case, enter http://www2.mysite.com for the URL.

This change requires an engine restart to take effect. 

Specify the host header

Host header is not required to match the URL, but will most often be the same. If unsure, enter the same as the alternative origin URL.

For example, you have a new version of your website that you want to test. Your new site lives in a different environment (www2.mysite.com) from your production site (http://www.mysite.com). In this case, enter www2.mysite.com for the Host.

NewAlternateOrigin-1

2. Create an Origin Experiment variation

In your campaign, select a variation type of Origin and change type of Alternative Origin. From there, you will see a dropdown where you can select one of the alternative origins that are configured for your site. If your campaign has a control experience, select "Original Origin" to keep users on your existing site for that variation.

Add any necessary triggers to satisfy your test requirements.

SelectingAlternateOriginInCampaign-2

3. Validate that the Alternate Origin is accepting traffic from SiteSpect

Preview your variation group(s) to ensure that traffic is routing through the alternate origin as expected.

In some instances, if the origin refuses traffic, you may need to adjust the host header defined in step 1. If you suspect this is the case, work with the professional services team to update the configuration.

Once you have confirmed the alternate origin is working, follow your standard preview QA process to validate the campaign experience.