What you are looking for is called a sticky footer and you need to do it like this:
If only modern browsers support is required then use the flexbox version.
Absolutely placing the footer is nonsense in terms of responsive sites and should be avoided at all costs.