Alternatively, you can buy specially made glass reptile enclosures, or use a 40-gallon (151.42 l) aquariums. Make sure that you choose one made for snakes so your corn snake doesn't escape.
[header] How to create a corn snake vivarium [title] Choose either a glass or plastic vivarium. [step] Plastic cages are sturdier and last longer than glass cages. They have grates on each side for airflow, and they can be heated from below using heating pads.