You should test using the Production hostname
Depending on your content, you can complete all testing by using the production hostname of your content or application, without affecting live end users. (And, we recommend this practice.)
Do this by changing the “hosts” file on a local computer to point your web site/application hostname(s) to an IP address of an Edge server. The hosts file controls the DNS resolution of the browser and overrides production DNS records.
Where is my hosts file?
Based on your operating system, you may be able to find your host file as follows:
- MacOS: Navigate to /etc/hosts
- UNIX/Linux: Navigate to /etc/hosts
- Windows: Navigate to \system32\drivers\etc\hosts
Where can I get an Edge Server IP address?
You can resolve an Edge Hostname using any command-line DNS resolution tool such as “nslookup”, “dig”, or any web-based IP lookup tool.
For example, if you resolve an Edge Hostname that we've provided to
www.example.com.edgesuite.net—you might obtain the following
example.com.edgesuite.net. IN CNAME a1234.g.akamai.net.a1234.g.akamai.net. 20 IN A 184.108.40.206a1234.g.akamai.net. 20 IN A 220.127.116.11
The two IP addresses in the resolution are Edge servers, and you can use either of them for testing.