Invalid URI: The hostname could not be parsed
when I start creating new sites, I start it up at my localhost.
Unfortunately, when I setup it up in production and link the domainname to it, the alias is localhost and on some modules that is a problem.
Now I found a solution by "tricking" the local DNS on my PC and refer the domainname of the site to localhost in my hosts file (windows/drivers/etc).