Each species of gecko will have its own special requirements and needs, but there are some common requirements that all species will share. Housing, moisture, food, day and night cycle and a hide box are pretty much the same for all species.
Geckos in general are arboreal which means they climb and live above the ground. With the exception of a few species which either live on the ground or cant climb. To have a healthy gecko you need to have a terrarium that has plenty of room and things to climb on. Branches, plants and rocks are some good examples. Proper bedding is essential for geckos. Sand should never be used. When a gecko feeds it may accidentally swallow some of the sand. The sand will build up in the stomach and the lizard will become impacted. Impaction will lead to death. I recommend buying some reptile carpet. Reptile carpet is easy to clean and you don’t have to worry about impaction.
Gecko like most other lizard species require at least some moisture to be healthy. Most species need moisture to help remove skin when they shed. If there is not enough moisture the skin around the toes and eyes can fail to shed and can either cause the lizard to lose a toe or an eye infection can occur. Geckos will also sometimes drink moisture from the wall or from the leaves of plants. This is how most wild geckos get their water not from a dish.
Geckos primarily eat 2 different things either insects or fruit. Make sure you research the proper food for your species. Always add a calcium supplement to their diet. Geckos in the wild get a wide variety of insects which give them a nutritious balance. In captivity a geckos diet is limited usually to crickets and meal worms both of which are raised and may not have all of the nutrition they would have in the wild. For this reason calcium must be added. If you do not add calcium, your lizard will develop Metabolic Bone Disease.
Most reptiles are much healthier if you follow a pattern of day and night cycle that is consistent which their natural cycle. This means a 12 hour light and 12 hour dark period.
Most geckos are nocturnal. They hide in cracks, crevices and caves during the day and hunt at night. To keep your gecko healthy and less stressed they need to have a hide box which they can hide during the day.
Lighting and temperature:
Geckos generally require the temperature to be around 80-95 degrees for most species. You also need a UVB reptile bulb for proper health.