Certificate error when going to main site

We bought a SSL certificate for our product download login and applied it accordingly. Now after restarting the HTTP server task, every time someone goes to our main site, the browser says:

"There is a problem with this website’s security certificate.

The security certificate presented by this website was issued for a different website’s address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server."

The certificate is for a specific URL (support.site.com) and our main site is site.com. How do I fix this problem?

Subject: Nevermind

I found the problem and fixed yit.