I had one subdomain redirecting and then I set up the second one.. and it all went buh-bye..
I have one site - main.mydomain.com
My goal today was to setup a redirect of 80 to 443, and as well I wanted to create an easy link to access the webmail. So, I started off by adding a CNAME record (
webmail ) to my DNS records with GoDaddy to point to my server's A hostname for the webmail redirect.
I then went into Server Admin and setup webmail.mydomain.com first. I created a new site, gave it the hostname
webmail.mydomain.com, then created a web server alias for it -
webmail.mydomain.com - and then added a redirect (
pattern: webmail.mydomain.com &
path:
https://main.mydomain.com/webmail/ ) Testing this in Safari redirected webmail.mydomain.com to my secure webmail login page as intended.
I then went back to Server Admin to set up the second redirect for the main site 80 to 443- exactly as I did the first redirect. I created another site and gave it the same hostname as the main domain -
main.mydomain.com - added a web server alias for it -
main.mydomain.com - and then added the redirect (
pattern: main.mydomain.com &
path:
https://main.mydomain.com). Testing this in Safari, I was unable to load the 443 page. It found nothing. So I retested the first one, and it no longer worked.
What did I do wrong? I can't seem to get this set up. Anyone?