I just bought a hosting account with inmotionhosting.com and they offer a free shared ssl certificate. However, the address I have to point the browser to cannot be https://mysite.com. It must be something like https://secure.inmotionhosting.com. I don't really want the address in the addressbar to show a name other than my domain name so I thought of a workaround but am not sure if it would be secure.

What if I pointed the browser to somewhere like http:mydomain.com/secure and had an entry in an .htacces file within that folder that rewrote the address to the secure inmotion address. Would this provide the same level of security, or would the information I'm trying to secure be sent to the server over an insecure connection before the rewrite occured?

edited by admin: non-web development commercial link removed