I will like to create a subdomain strictly to serve images. i.e. images.domainname.com. The approach explained in the link below wouldn't work. http://support.Winhost.com/KB/a649/...main-to-a-subdirectory.aspx?KBSearchID=305445 How i'm able to achieve this through my site with Winhost. Thanks
Why not? Really though, a subdomain to serve images is kind of unnecessary when everything is running from the same home directory on the server. Images served from a subdomain on large sites are typically coming from a completely different server or cloud storage somewhere outside of the web server.
Actually, it is a good idea. Most browsers will issue only 7 get requests at a time per server name. That number will change here and there but lets use it for now. Assume a site with 30 assets. The 7 requests are made and the 8th will not be initiated until a new connection from the pool is available. If request something using a different name however, you avoid this issue. So in this scenario, the 7 assets are requested and worked on WHILE 7 images are requested and worked on.
Sorry forgot to answer the question. Your not doing redirection. All you need to do is reference the image with the subdomain. to clarify: www.domain.com/images/pic.jpg domain.com/images/pic.jpg sub.domain.com/images/pic.jpg All point to the same place server side. Its the browser we are trying to fool.