Using CDN for images

Hi there,

I would like to serve my static content from a local cdn.

For example:

<img src="http://cdn.local.dev/uploads/my-pic.jpg">
<script src="http://cdn.local.dev/themes/my-theme/js/app.js">

Is there a way to “alias” a cdn subdomain in this way?

My best