Dill is a very easy herb to grow and can be grown indoors or outdoors.
Dill enjoys full sun, and flourishes in average to fertile soil with good drainage.
Sun can damage dill if it has too much of it. However, you will want sun shining on it at least six hours a day. If you have some moisture in the air this is great. But if you struggle with moisture in the air you will want to mist your dill plant from time to time.
To plant dill, place seeds over loose soil and cover about a half inch deep. Keep soil moist but not water-logged.
Much of this information (and more) is available at Easy to grow Herbs.