Just an update on how I ended up doing this.
1) I setup a domain pointer with my host. Domain1.com points to Domain2.com (Both point to same host location)
2) Since I had SSL setup on Domain2.Com, I setup an Aplplication_BeginRequest in Global.asx.cs to tweak the URL from Domain1.com to Domain2.com. It forces SSL as well. This immediately routes to Domain2.com and keeps SSL happy.
See below for the code:
protected void Application_BeginRequest(object sender, EventArgs e)
{
string currentUrl = HttpContext.Current.Request.Url.ToString().ToLower();
if (currentUrl.StartsWith("http://domain1.net"))
{
string newUrl = Request.Url.AbsoluteUri.Replace("http://domain1.net", "https://domain2.net");
Response.Redirect(newUrl);
}
else if (currentUrl.StartsWith("https://domain1.net"))
{
string newUrl = Request.Url.AbsoluteUri.Replace("https://domain1.net", "https://domain2.net");
Response.Redirect(newUrl);
} else if (currentUrl.StartsWith("http://www.domain1.net"))
{
string newUrl = Request.Url.AbsoluteUri.Replace("http://www.domain1.net", "https://domain2.net");
Response.Redirect(newUrl);
}
else if (currentUrl.StartsWith("https://www.domain1.net"))
{
string newUrl = Request.Url.AbsoluteUri.Replace("https://www.domain1.net", "https://domain2.net");
Response.Redirect(newUrl);
}
}
Other posts that helped me with this:
How to redirect HTTP to HTTPS in MVC application (IIS7.5)