Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
am new in IIS7
am facing one issue on iis.
i have hosted my website in iis7
in that i have binding to that website for the given below format,
1. www.*****.com and with the corresponding port no.
2. ****.com and with the corresponding port no.

but my problem is when i browse my site into firfox or any other browser
i can able to view only for www.****.com
but i cant able to view without using www, i mean the ****.com which i was binded in IIS7
so please let me know what was occured in this.


thanks to advance.
Posted

1 solution

Refer - deploy web site on IIS 7 with and without www prefix[^].
Quote:
Create 1 website and add 2 host bindings. Using inetmgr, when you click on the website the bindings should be on the right side. You'd add two bindings with the same IP and different host name "www.host.com" and "host.com". You also need to make sure your DNS server has both host entries pointing to your websites IP.
I guess you are missing the following point.

"You also need to make sure your DNS server has both host entries pointing to your websites IP."
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900