Why does view source show this?

  • Thread starter Thread starter dgk
  • Start date Start date
D

dgk

I'm writing a very simple webpage, one label, one imagebutton, using
Visual Studio 2003. I've changed the IP for security reasons as I'm
not ready for visitors. The page is in grid mode and is the start page
for that site in IIS.

The DNS for the site is a registered domain pointing to a dynamic IP
address using www.gotdns.org. I have another domain pointing to a
similar app in a different virtual directory in wwwroot and it works
fine. On this one I see the page ok, with my pretty colored background
and imagebutton. The imagebutton even takes me to the linked site, and
I get the same view source there. I've deleted the project and started
again with the same result.

------------------------------------




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
</head>
<frameset>
<frame src="http://999.999.999.999/mysite" name="redir_frame" />
<noframes>
<body>
<p>Sorry, your browser does not support frames. Please <a
href="http://999.999.999.999/mysite"
target="_top">go here</a>.</p>
</body>
</noframes>
</frameset>
</html>
 
If that html doesn't look familiar to you at all, it sounds like your web host or dns service is trying to wrap your site in a frameset rather than providing a direct link to it. Are you using the "cheap-o" providers?
 
If that html doesn't look familiar to you at all, it sounds like your web host or dns service is trying to wrap your site in a frameset rather than providing a direct link to it. Are you using the "cheap-o" providers?
Absolutely the cheapest host, my PC. The DNS for the site is provided
by www.gotdns.org which maps the domain to my dynamic IP address. But
another site, running the same way, does not have the problem.
Comparing the setup on gotdns I see that I have cloaking on for the
site that is giving me the frameset source. I thought that I had them
the same. Ok, I turn it off (time passes) and it works fine.

Very nice, the cloaking ability has a view source that shows the IP
address anyway. Thanks for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top