Point your browser to the Edge servers

You need to direct ("point") your local system to our staging Edge servers to test.

You need to modify your hosts file to point your system to request content from Akamai staging Edge servers, rather than your origin server. This practice is commonly referred to as spoofing.

How to

  1. Access Property Manager configurations associated with the selected Control Center account. Go to > CDN > Properties (or just enter Properties in the search box).
    The Property Groups page opens.
  2. Start typing your property name in the Filter by Property or Hostname field and select your property.
  3. On the Property Details page, in the Manage Versions and Activations section, select the version of your property you want to test.
  4. On the Property Manager Editor page, find your edge hostname in the Property Hostnames panel.
  5. Look up the IP address of the staging version of that edge hostname and copy it to your clipboard. The staging version of your edge hostname inserts -staging before the final .net.
    • Windows: Open a new command prompt and perform an nslookup of the staging hostname:
      nslookup www.example.com.edgekey-staging.net
    • Mac OS, Linux or Unix: Open a new terminal, and perform a dig of the staging hostname:
      dig www.example.com.edgekey-staging.net
    The IP address of the staging edge hostname appears in the response.
  6. Open your local hosts file in a text editor. You can typically find the hosts file as follows, based on your OS:
    • Windows: Navigate to C:\Windows\System32\drivers\etc\hosts. The directory above \system32\ might vary in your environment.
    • Mac OS: Navigate to /private/etc/hosts.
    • On Linux/Unix: Navigate to /etc/hosts.
  7. At the end of the hosts file, add an entry for your website that includes the staging IP address and your property’s domain. For example: 1.2.3.4 www.example.com
  8. Save and close the hosts file.
    Note: This only applies to your local system. Also, to undo the redirection to the edge server, remove the new entry from your hosts file.
  9. On Mac OS X 10.6 and later, run the following command to flush your DNS cache. (This doesn't apply to Windows or Linux/Unix.)
    dscacheutil -flushcache
  10. Confirm that your computer points to an Edge server