You can make an inexpensive homemade rehydration drink. Measure all ingredients precisely. Small variations can make the drink less effective or even harmful.  

Mix:

1 quart (950 ml) water
½ teaspoon (2.5 g) baking soda
½ teaspoon (2.5 g) table salt
3 to 4 tablespoons (45 to 60 g) sugar, not artificial sweetener.
If available, add ¼ teaspoon (1.25 g) salt substitute, such as "Lite Salt".

it can be made up in quantity and kept refrigerated for several weeks. drink 2 to 4 liters daily. it also restores essential electrolytes not found in plain water.

source: webmd

a simple test for dehydration: pinch the skin on the back of your hand. if it doesn't return to normal quickly when released you are probably dehydrated.