Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have seen binding option in the IIS 7 to bind different sites. I tried to bind a google.com to a site created in the IIS 7 but it didn't work. Can you please clarify with the concept of binding in IIS. thanks !

share|improve this question

closed as not constructive by mailq, Scott Pack, rnxrx, Michael Hampton, mulaz Oct 4 '12 at 1:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
You are the owner of Google? Ask your employees. –  mailq Nov 4 '11 at 14:37
    
I know, am not the owner of the Google otherwise I would have redirected without posting here. that's why I am asking people to clarify the binding in IIS. –  dotnetrocks Nov 4 '11 at 14:39
    
So then the answer is simple: You can't. It's not your domain. And if you forge your DNS to make it "your" domain, then nobody can use the real google.com anymore. –  mailq Nov 4 '11 at 14:42
add comment

2 Answers

There is a good blog post explaining the concepts of binding in IIS. http://blogs.technet.com/b/chrad/archive/2010/01/24/understanding-iis-bindings-websites-virtual-directories-and-lastly-application-pools.aspx

If you have a concrete question, then come back with that.

share|improve this answer
add comment

IIS has the ability to serve multiple sites from a single IP Address using "host headers" which means than when a request comes in to a particular domain e.g. http://google.com or http://microsoft, even if both those are pointed to the same IP address in your DNS server, IIS can detect which one the request is for and direct the request to the correct site/virtual site.

Without this, we would have run out of IPv4 addresses long ago as it basically allows hosting companies to put multiple sites on single servers with a single IP.

Of course you need to OWN the domain in order to point the DNS record to your server (!) or, for testing purpose could just hack your /etc/hosts file

share|improve this answer
    
typical binding for websites are in the form IP:Port:HostHeader. Can you please clarify me here. If multiple sites can host on single IP address, then in the format IP address does not change. right ? Is there any scenario to get more than one IP address in the bindings....I mean like this eg., 192.26.34.23 :80:microsoft, 192.45.36.28:80:google src:blogs.technet.com/b/chrad/archive/2010/01/24/… –  dotnetrocks Nov 4 '11 at 15:31
    
I think by "Binding" you're talking about the IP's that IIS will listen on. So, say you have 3 network cards on your server, you might choose to say some sites listen on network card 1 (Or, more technically, it's IP address(es)) and others on network card 2 etc. That, however, has no real relation to your original question. I think you need to clarify your terminology and what exactly you're trying to achieve and why. –  Dan Nov 4 '11 at 16:24
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.