How can i allow Cors request for specific domain names

I want to create a cdn subdomain for serving images from domain : cdn.example.com.
How can i allow only example.com to be served with images.

I am afraid thats a question rather for StackExchange than here.

This topic was automatically closed after 31 days. New replies are no longer allowed.