Question : IIS 7 - setting up the site with www.

I have a domain lets say site.com
i host my own DNS server.. so at goddady i have the name servers set as ns1.site.com and ns2.site.com


now in my IIS i set the bindings... i have two entries that are identical except for one of them has www.site.com instead of just site.com in the host name


site.com works... but www.site.com does not work.. what could be wrong?

thanks.

Answer : IIS 7 - setting up the site with www.

There should be some setting in your dns entry...since godaddy is forwarding the request...you can call customer support and ask them.

You could also make it work by creating htaccess file and adding...

RewriteEngine On
RewriteCond %{HTTP_HOST} ^site.com
RewriteRule (.*) http://www.site.com/$1 [R=301,L]
Random Solutions  
 
programming4us programming4us