Write an article based on this summary:

Provide a heat source. Keep the temperature regulated. Provide a daily cycle of light and dark. Place the vivarium away from anything that will affect the temperature.
Snakes require outside sources of heat because they are cold-blooded, meaning they can’t generate their own heat. An under tank heater that spans 1/3 of the tank’s floor is ideal. Ceramic heat emitters are good for extra heat. The warm side temperature should be about 85 degrees Fahrenheit. Corn snakes should have a warm side and a cool side to their tanks so they can move around to warm up or cool down depending on their needs. The warm side is the one with the heat lamp or heater. The warm side should be around 80–85 °F (27–29 °C), and the cool side should be about 75–80 °F (24–27 °C).  Place the under-the-tank heater on the side of the tank that will be the warm side. Make sure it doesn’t take up more than half the enclosure. Use a thermostat to regulate the temperatures on each side. Check each side with a digital thermometer each day by placing the thermometer into the substrate. For your corn snake to be at their optimal health, they should have daily light and darkness. Indirect light from a window is sufficient. If this is unavailable LED or UVB (beneficial but not completely necessary) will suffice.   Place the light on the warm side of the vivarium, making sure the cool side has less light, providing a “shaded” area away from the “sunny” area. The snake should have 10 to 12 hours of light each day. Vivariums should be placed in an area or room that is basically temperature controlled. They should not be near drafts or vents that can blow air on them, and they should not be near heaters.  You should also not place the vivarium near any windows or in areas that get direct sunlight. This can also affect the temperature inside the vivarium. The vivarium should have some form of ventilation but keep in mind that too much air flow can change the temperature of the vivarium.