Built a New PC, got a DVI-D cable for my GPU and monitor but no signal input.

Jan 21, 2019
First off, here are my specs:

AMD FX-6350 Black Edition Vishera 6-Core 3.8 GHz
US 32GB (4x8GB) DDR3-1600 PC3-12800
Kingston - A400 240 GB 2.5" SSD
Seagate - Barracuda 1 TB 3.5" HDD
Diablotek CPA-0170 Diamond Computer Case
EVGA - 500 W 80+ Certified PSU
LG 22M38D-B 1080p Monitor w/ HDMI/DVI-D/D-Sub Input
ASUS Dual-Fan Radeon Rx 480 4GB OC Edition

I finally got the last of the parts I needed a while ago and built my PC. When I had got the monitor, it only came with a D-SUB cable, however, my GPU does not support D-SUB, only DVI-D and HDMI. And my monitor does not support HDMI either.
So I order a DVI-D cable on eBay. It came today in the mail. So when I went to plug it in, and started the PC, it said no input for both D-SUB and DVI-D.
I then tried moving the GPU to the next PCIe slot (which worked out, because on the previous slot the fans would not spin and the card would not get warm). Then I tried to get input from that but there's still nothing.

Here are the pics of the Cable I got and the GPU video port:

I have no idea if the cable I got was the wrong one I needed, or if it's another hardware problem. Everything on the PC works fine, so I think it's either a monitor or a cable problem.