configuring domain