If you are trying to play the first Dawn of War online, you may run into trouble, as its original lobby service has been disconnected. That means online play for the first title is no longer supported through the old servers.
To play online, you may need to look into community-run servers or a newer installment in the series.