Converted it to a sinatra app so that any url works for the chosen domains