title: how to make webpagetest.org load a website from a different IP address
body: <p>I once received instructions from a web hosting support on how to use webpagetest.org to test a website from a different IP address to the one it is currently live at. This enables you to test the website on a different host to see if that host loads the website faster than the current host.</p>
  
  <p>I've had a look at the Advanced Testing > Advanced tab, but I can't see how to achieve this.</p>
  
  <p><strong>Edit:</strong> from <a href="https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting" rel="nofollow noreferrer">the Scripting help doc</a>, there is a script command you can use:</p>
  
  <pre><code>setDnsName  www1.aol.com    www.aol.com
  setDns  www.aol.com 127.0.0.1
  setCookie   http://www.aol.com  zip=20166
  navigate    http://www.aol.com
  </code></pre>
  
  <p>When I try just 1 line:</p>
  
  <pre><code>setDns  www.example.com.au  103.103.103.103
  </code></pre>
  
  <p>I receive error:</p>
  
  <blockquote>
    <p>Invalid Script (make sure there is at least one navigate command and
    that the commands are tab-delimited). Please contact us if you need
    help with your test script.</p>
  </blockquote>
  
  <p>Help appreciated.</p>