Validate a domain using HTTP file
In this method, you create a file containing a token and save it on your origin server at the provided URL. This method is available for hosts (single hostnames).
Use this method when:
- You don’t have access to a DNS zone.
- You’re using multiple CDNs. In this Multi-CDN scenario, you need to manage domain validation through files on the origin server.
Don't use this method when:
- You want to validate a domain with a WILDCARD or DOMAIN validation scope.
- You don’t want to manually obtain the new challenge tokens from Akamai and add them to a file on your origin server.
How to
To validate a domain using HTTP file, first submit your domain for validation in Domain Ownership Manager and then update your server configuration.
2. Update your HTTP configuration
- View the domain details.
- In Domain validation details, navigate to the HTTP file tab and copy the challenge token.
- On your HTTP server, create a file and paste the challenge token as the file contents:
cd <web-server-www-root> mkdirs /.well-known/akamai/akamai-challenge echo -n "your-verification-token" > /web-server/.well-known/akamai/akamai-challenge/<challenge-path-token> - Place the file on your HTTP server, in the location given as the HTTP Redirect> Source URL in the Domain Ownership Manager's UI. The last part of the URL must be the file name.
Check the domain status to monitor the validation progress. After it completes, your domain status changes to Validated.
Updated about 2 months ago
