Switch Site Name depending on URL
One approach would be to use the Domain Access module.  Not sure if you can use it with subdirectories, but you can use it with subdomains.  Basically, you would create an "affiliate" (module's term for a site) for dogs and one for cats, and configure as needed.