You should put a subfloor under your vinyl flooring. This will give you a stable surface to lay your vinyl on and will help to insulate against sound and temperature. It is important to make sure that the subfloor is level before you install the vinyl. You can use plywood or OSB as a subfloor material.