nodejsによるサブドメインリクエストをどのように処理できますか?
たとえば、http:// localhost:9876 / [anything]でのリクエストに対するコンソールでの次のコードエコーテスト:
var http = require('http');
http.createServer(function(req, res){
console.log("test");
}).listen(9876);
http:// [anything] .localhost:9876 / [anything]でリクエストに答えたいのですが、apacheのhtaccessで 実行できますが 、NodeJSの代替手段は何ですか?