I have a main domain (e.g.
www.LongDomainName.com) and a short domain (e.g.
www.shrtdm.com).
I have recently moved my corporate website into a fully hosted environment. Previously, we hosted the proprietary CMS. In my setup, I had IIS forward all requests for
www.shrtdm.com to
www.LongDomainName.com, including all parameters after the domain.
So IIS would redirect requests for
http://www.shrtdm.com/contactus to
http://www.LongDomainName.com/contactus. It was a wildcard redirect so it would work for any URL, not just predesignated ones.
Since we moved the system to the provider, we can no longer touch the backend. What I have currently done, is just point both domains "A" records to the same IP. This causes a problem with SSL certificate. Since, the short domain name gives users errors, since the certificate is for the long domain.
Can I redirect requests through the DNS system, rather then in IIS?
Thanks!
The two options I see are
- to change your SSL cert to use a UCC/SAN cert which you can specify multiple domains on, then pointing both A records to the same IP.
- set up a separate site for your shortname domain where you can do the same redirect as you were doing before.