Prepare web frontend for use with multiple domains (autoselected).