IIS 7.0 - File Caching Issue

Posted on 2012-09-04
Medium Priority
Last Modified: 2012-09-19

I have a .NET website which connects to a web.config file.
I have no issue connecting to the site until I add a Host Name.
Once the Host Name is entered, the site redirects itself to an non-existent URL.
(Non existent in the sense that this file no longer exists.)

I'm also unable to change the URL - it keeps defaulting back to the same non-existent URL.
The only thing I can think of is that the Host Name is cached to this non-existent URL.

Can anyone assist me in letting me know what I can do to fix this issue?
Question by:Stephane_L
1 Comment
LVL 10

Accepted Solution

gaurav05 earned 2000 total points
ID: 38366809

try to make host entry on server and against the ip address of that server.

for e.g.

<ip address of iis server>          <website hostheadername>

reset  IIS and clear your browser cache.

Try to browse the website.

-Let us know.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month16 days, 2 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question