Re: <img src="http://<staticip>/file"> work but http://www.domain.com/file"> not work
On Tue, Dec 24, 2002 at 04:51:04AM -0700, eric lin wrote:
> Do you know why in the html code to show photo by
> <img src="http://18.104.22.168/photo.gif or jpg"> work but
> <img src="http://www.domain.com/photo.gif or jpg"> not work?
There are several web servers running on the host that has only one IP
address. Web browsers are sending the hostname as HTTP option to
identify the right one. It's called virtual hosting.