If you are riding in an unfamiliar area, your following distance should be at least:

A minimum four-second following distance is recommended when riding under unfavorable conditions. If you are riding where there is heavy traffic congestion, where the pavement is slippery, or in an unfamiliar place, you should increase your following distance.
DMV Writen Test