Fill a 6-to-10-inch-diameter hanging basket planter with potting soil. Use a well-draining potting soil that contains peat and vermiculite or perlite so it doesn't compact in the pot.
Plant the tomato seedling in the pot. Set the plant 1 to 2 inches deeper in the hanging basket than it was growing at previously. Tomatoes produce new roots along the bottom portion of the stem if you bury it.
Hang the pot in a warm, sunny window, such as a south-facing window that isn't shaded by trees or nearby buildings. Avoid areas subjected to cold drafts from windows or nearby doors.
Water the tomatoes every two to four days when the the top inch of soil feels dry. Remove the basket from the hanger and set it in a sink when watering so the draining moisture doesn't cause a mess. Rehang the planter after the soil finishes draining.
Dissolve 1 ounce of 20-20-20 fertilizer in 5 gallons of water. Irrigate the tomatoes with this solution once weekly instead of using plain water. Store the excess in a closed and labeled container.
Brush the plant with a feather duster or with your hands when the flowers open. This dislodges the pollen in the flowers so they become fertilized and produce fruit.