Hi, I have a single server farm where I tried to set up https to work alongside http plus some new urls. I have 4 different urls I want to be able to access the solution with:
url1
url1.domain
url2
url2.domain
Along with both http and https, this makes 8 urls in total. I have set up IIS bindings for the https urls and alternate access mappings as follows:
internal: https://url1- default - public: https://url1 (this is the web app url but with https. Content source links have been updated to this)
internal: http://url1- intranet - public: http://url1
internal: https://url2.domain - internet - public: https://url2.domain
internal: http://url2.domain - custom - public: http://url2.domain
and have set links in content sources to https with the web app url (same as default zone aam). I have not set any redirecting up as I wanted both http and https accessible.
Accessing the solution works without issues, however, search does not really work. If you access the solution with the web app url in https (default in alternate access mappings, same as links in content sources) then it works, if you have accessed the solution with any other url, search returns 0 results or sometimes even an error "SqlError: procedure or function proc_MSS_GetUrlMapping has too many arguments specified". I have tried a full crawl and it made no difference.
Does somebody have experience with a setup like this? What have I missed? Any tips would be appreciated.