Re: <img src="http://<staticip>/file"> work but http://www.domain.com/file"> not work
Bernd Eckenfels wrote:
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://126.96.36.199/photo.gif or jpg"> work but
<img src="http://www.domain.com/photo.gif or jpg"> not work?
you are totally in the wrong list, but anyway:
eighter www.domain.com does not resolv to 188.8.131.52 or you web server is
using name based virtual hosts. The ip does match the default host, the name
does match another one.
If you want us to help you need to provide real address, real error messages
and a description of your network.
Thanks your reply,
In my own site(my comuter's browser) I can see that pic even using <img
src="http://www.domain.com/photo.gif"> in my /var/www/index.html
but in www.finitesite.com(a free webhosting company)'s my index.html
if I also put
<img src="http://www.domain.com/photo.gif"> then the photo is broken
when I vistie my finitesite page, www://www.finitesite.com/fsshl
-but using static ip 184.108.40.206 work
both www.domain.com/photo.gif or 220.127.116.11/photo.gif in URL of any
browser all work.
Do you use proxies? Firewalls? What kind of firewall? What happens if you
directly type the images address (both) in your browser?
linux pc for sale