Favicon for subdomains

Milkytea / 2011-07-27 10:28:27   

Is there a way to have a different favicon for a subdomain? Because there is no root folder for a subdomain, it doesn't appear that the code works because the url address is different from the root.
My website is pawpawmilk.com
and the subdomain is here

If the code does work, where do you upload the .ico file to and where does the code go?

G470 / 2011-07-27 10:32:13   

Yes, the "root" folder is the main folder your domain points to.
Just place the new favicon to your main folder and you are done.

Milkytea / 2011-07-27 16:21:39   

ok except that the url address is clubhouse.pawpawmilk.com NOT pawpawmilk.com and it's not working, even though it is uploaded to the root folder.

Mainly, I'm asking about a different code for a subdomain because the same code that I use for my main domain doesn't work on the subdomain and i can't find any other forums about favicons and subdomains.
Thanks!

G470 / 2011-07-27 16:48:39   

hmmm. I think you did not get me right.
There are two ways to place a favicon on your site.
The first is just to place the favicon.ico ( only this name, not favico_xxx.ico) in the main folder of your site. Most modern browsers wil search and use this file. ( no code needed)

The second way is to set a link in your header linke this:

  1. <link rel="icon" href="http://clubhouse.pawpawmilk.com/favicon.ico" type="image/x-icon" />
G470 / 2011-07-27 16:53:15   

If you want to use gif or png files, read here :
http://en.wikipedia.org/wiki/Favicon

This thread has been closed, thank you.