Setting image and file path to subdomain on same server

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
mkrokos
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Nov 02, 2012 10:23 am

Setting image and file path to subdomain on same server

Post by mkrokos » Thu Nov 23, 2017 11:56 am

Hello, I would like to serve my images and files from a subdomain (eg, https://static.domainname.com/logo.png) while the actual livesite and cookie domain are www.domainname.com

I could make a subdomain in Cpanel (eg, static.domainname.com) that points to the "images" directory but that won't suffice. The image paths won't change upon request but they will still be relative to the web directory.

Any hints on how to do this?
Thanks in advance.

Locked

Return to “Performance - Joomla! 3.x”