Setup a sub-domain for WordPress media files
If you want to Setup a sub-domain for WordPress media files, this is the best way to reduce the server load media files are fetched from one location and the content is fetched from another location. First of all setup the sub-domain for your website, And ask your webhost the full path to your web directory on server.
Steps to Setup a sub-domain for WordPress media files
- From the WordPress admin panel, navigate to Settings-> Media.
- From under the Uploading Files, change the Store uploads in this folder to the directory location on your server.
- And other one Full url path to file is the subdomain like
After that few hours all media links are located to the new location,
Note: You have to manually move the media files to new location.