
cdn

Adding a Subdomain for a CDN
Since I’ll be doing some housecleaning re-associating images with old posts, I might as well head towards a cookieless domain to act as a self hosted CDN. Here’s what I did in Dreamhost.
- Under Manage Domains, I created a subdomain called static.pulpconnection.net. I set the option to remove www from the URL.
- I picked a user to run this subdomain.
- For the Web Directory field, I mapped it to the location of the WordPress uploads home/username/domain/wp-content/uploads
Hope this is right. Now to test…
Ooops. So that the file directory isn’t displayed if you open static.pulpconnection.net in a browser, I added an index.php file to the location that redirects visitors to pulpconnection.net.