Thread:Project:Support desk/Can I associate different wikis with different localhost aliases?/reply (3)

$wgScriptPath is the location of the script, without including the server name. Please read Manual:$wgScriptPath and Manual:$wgServer to see how to fill those variables.

Basically, I don't see what's your problem with the domain name here. I also have several development wikis on localhost where each one has it's own domain name (which is an alias of localhost) and they work without problems.