virtual hosting
Date: 01/03/06
(IT Professionals) Keywords: html, web, hosting, google
I need some iis help here. (or meta refresh/redirect?)
I'm not a web guy by trade, but this thing falls on my lap anyway.
--
ok: I just did a domain transfer of mydomainB.com from some china registrar to godaddy.com
godaddy.com doesn't seem to have URL forwarding, only domain forwarding and A and Cnames, mx
(as opposed to the one i use for my own private domain www.domainbooking.com)
I just turned on domain forwarding to point to mydomainA.com/mywebsite but I'm not sure if it will corrupt the mx entries for mail. (which should point to mail.mydomainB.com , in turn A for mail.mydomainB.com = 12.34.56.78)
assuming it does and I reverse the domain forwarding.
then what I have is that my current A for www.mydomainA.com = 11.22.33.44
and my new A for www.mydomainB.com points to 11.22.33.44 as well
but they are supposed to be two distinct websites.
so I need to redirect by url? perhaps on my index.html. those that originate from www.mydomainA.com proceed to index1.html and those from www.mydomainB.com proceed to 11.22.33.44/mywebsite/index.html
I think this falls under the category of virtual hosting, i've been searching google for bit with not much luck.
I'm not sure host headers work for wan/internet domain names, and godaddy/A addressing doesn't quite allow you to specify port numbers either.
to add to the complication, the website is also hosting an exchange outloook mobile access site. so http://www.mydomainA.com/exchange should be accessible.
so how do I do this?
Source: http://community.livejournal.com/itprofessionals/31972.html