Search code examples
bonjourosx-yosemitecodekit

Codekit 2 doesn't resolve Bonjour Hostname after Yosemite 10.10 Upgrade


After upgrading to Yosemite 10.10 via the AppStore (no new/clean install), I get a blank page when previewing a website with Codekit 2. In the "Server" tab the Bonjour Hostname in my case "lukas.local" is missing since the upgrade http://goo.gl/QduPqp.

Any ideas how to expose my Bonjour hostname correctly again? Thanks!


Solution

  • Check your HostName - I had the same issue;

    sudo scutil --get HostName
    

    If you don't get back an expected result (ie. lukas.local) change it... along with the ComputerName and LocalHostName if they need changing...

    sudo scutil --set ComputerName Lukas
    sudo scutil --set LocalHostName lukas
    sudo scutil --set HostName lukas.local
    

    Restart the CodeKit servers.

    Hope that helps someone at least.