January 13th, 2010, 08:33 PM
How do i get my site to render as both www.site.com and site.com ?
i am trying to figure out how can i get my IIS7 server to host the same directory of files for www.mysite.com and also mysite.com
right now it seems like i can only get it working with one of the other. is there some way to do this with host headers or host files?
i've been playing around with both to no avail.
thanks for any help
January 13th, 2010, 11:15 PM
Fix this in DNS by having a host record for both the bare domain name and he www.<domain name> so both will resolve to the same ip. Host headers would typically be for when your server is on one IP but you want to treat the two url's as independent sites, i.e., if you wanted different files for the bare domain name vs. www
Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.