Pointer domains on sites with SSL no longer work

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
10/14/2024 10:26:42 AM
Gravatar
Total Posts 221

Pointer domains on sites with SSL no longer work

In MP version 2.9.0.1 if you have a primary domain setup with SSL (such as www.mysite.com) other pointer domains don't work such as www.pointerdomain.com or pointerdomain.com. The pointers will error out because there's no SSL on the pointer domains and Mojor isn't switching traffic to the preferred domain. It used to be that the preferrerd domain setting would route users over to the correct domain that has SSL. It's not doing that now (I've checked multiple installs and multiple sites, all pointer domains error out)

10/22/2024 1:42:28 PM
Gravatar
Total Posts 2253

Re: Pointer domains on sites with SSL no longer work

Hi Eric,

I'm looking at this. I don't remember mojo behaving that way, but I wouldn't doubt it. 

Can you confirm you do not have HSTS enabled on the site in IIS? I would suggest you do have HSTS enabled but, if you do, I don't think there's any way to have mojo handle this the way you're describing.

Basically, you want it to redirect to the preferred domain at the same time it redirects to SSL, right?

Thanks,
Joe

10/22/2024 2:14:26 PM
Gravatar
Total Posts 221

Re: Pointer domains on sites with SSL no longer work

Hello. HSTS isn't enabled.

The redirects have always worked before the latest version. That's the whole point to allowing multiple domains in Mojo and the preferred domain. I'd think. Otherwise why even have those options if mojo will only accept one domain? Something changed. I have 50+ pointer domains that have all stopped working. Multiple pointer domains is a fairly common need.

Here's a working example of an older CMS install (v 2.7.0.0):
This non-SSL (http://www.versascreengutterprotection.com) domain redirects to the preferred SSL domain: https://www.edgemeltsystems.com

Another example in a v2.7.0.2 install:
http://www.gsbservicesllc.com points to https://www.mysheetmetalguy.com

Any new CMS installs such as 2.9.0.1 do not work. I'm not sure v2.9.0.0. Worked or exactly what latest version it stopped working, but I think it's the latest one since the last time I set up a pointer domain it worked fine. I'm just noticing it in this latest version.

I hope this provides a hint.