Question: how to connect a second monitor with dvi?
Answer: Connect a VGA monitor cable from your computer's VGA port to your VGA monitor. ... 
Connect a DVI monitor cable from your computer's DVI port to your DVI monitor. ... 
Plug both monitors into a wall outlet, power them on and boot your computer.
Right click an empty area of the desktop and select "Screen Resolution."