I get this error too, was just about to ask about it. To elaborate a little though, I rename my localhost. So I am actually using sitename.loc rather than localhost. I noticed just ignoring the warning wasn't causing any ill effects (that I could tell) but is there no actually solution for this?