I have created several host-named site collections and now I have to rename a couple.
I used the command New-SPSite to create 'http://test1.domain.com' and was able to get everything going fine, but after using Set-SPSite with the following:
The command appears to run correctly and if I run Get-SPSite I see my new URL listed, and if I try navigating to that URL in my browser it works fine.
The problem I have though, is that I set a custom login page and set it to '~/SitePages/login.aspx' which in theory should resolve to 'http://test2.domain.com/SitePages/login.aspx' but when I try to login it's pointing me to 'http://test1.domain.com/SitePages/login.aspx'
I have the same problem with the mobile version, in that when I try to navigate to 'http://test2.domain.com' in my iPhone the browser is being redirected back to the old site URL, test1.domain.com
Is there anything after the Set-SPSite command that i need to do? Thanks in advance