Ask the Expert

Web site is displaying placeholder from other Web site instead of index.cfm

I am new to IIS Web admin and I have set up a few Web sites with no errors. But now I have set up a new site, the same settings as the others and the correct index page index.cfm is being replaced in the browser with the text and layout and place holders for the graphics of one of the other Web sites. The Web Site Identification does not use IP addresses but the host header name is correct.

Requires Free Membership to View

I can't be sure of the source of the problem without seeing the HTML, however, here's my guess: Index.cfm references objects with full URLs rather than just URIs. URIs don't list the Web site name, just the path to the file. For example, when referencing an image, Cold Fusion produces HTML that looks like this:

<img src=>

Rather than a shorter URI that doesn't contain the site name, like this:

<img src="/image.gif"> This in itself isn't a problem, unless the hostname listed in the full URL is wrong. In the previous example, perhaps you typed "" in the browser, and index.cfm includes references to "". Check your Cold Fusion configuration to verify that CF knows the correct site name.

This was first published in June 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: