Point your browser to the Edge servers
You need to direct ("point") your local system to our staging Edge servers to test.
Open your local hosts file in a
text editor. You can typically find the hosts file as follows, based on your
- 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.
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:
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.
On Mac OS X 10.6 and later, run
the following command to flush your DNS cache. (This doesn't apply to Windows or
- Confirm that your computer points to an Edge server
If you’re using HD streaming and the hosts file is blocked by the internal network or admin:
Use a command-line tool such as curl to specify the Host header on the HTTP
request. For example:
curl -i -H "host: test-i.akamaihd.net" -d "test" "http://post.test-i.akamaihd-staging.net/xxx/test/index.m3u8"" HTTP/1.1 200 OK . . . X-Akamai-Staging: EdgeSuite
The presence of the
X-Akamai-Stagingresponse header confirms that your test request hit the Staging network.