Can you connect an external hd to ps4?

The answer is no, that feature isn’t supported by the PS4.  PS4 comes with a big enough 500 gigs hard drive anyways.

PS4 owners will be able to replace PS4’s standard hard drive. PS4’s hard drive is used to store downloaded game and video content, game save files, gameplay movies and images, and more.

ps4 hard drive