cain a
05-28-2007, 08:02 PM
...being accessed since they belongs to ONE ip address? A http server hosts several domains,for example, www.example1.com, www.example2.com, and www.example3.com. But there is only one IP address. So the three domains correspond to the same IP address.
The problem is, if I enter www.example1.com into my browser address bar and hit "go", first thing, this domain name will be resolved to an IP address, and then my computer just uses this IP address(plus a default TCP port 80) to fetch a web page. I very much know that different domain name will get different page. But how can the three domain name here be differentiated since they corresponds to one IP address?
I am very much confused by this problem and hope some tech-savvy persons can give me a clear explanation. Thank you very much indeed!
The problem is, if I enter www.example1.com into my browser address bar and hit "go", first thing, this domain name will be resolved to an IP address, and then my computer just uses this IP address(plus a default TCP port 80) to fetch a web page. I very much know that different domain name will get different page. But how can the three domain name here be differentiated since they corresponds to one IP address?
I am very much confused by this problem and hope some tech-savvy persons can give me a clear explanation. Thank you very much indeed!