windows 2008 DNS Website without www?
I have a site on my server that only works with a www. example: http://www.dartmouthplayers.ns.ca/ works but without it, it does not. http://dartmouthplayers.ns.ca/
But the site's bindings has both listed:
and the DNS has the blank host record:
What did I not set right?
It's odd because: http://dartmouthplayers.ns.ca/ - returns a 500 error and http://randomtexthere.dartmouthplayers.ns.ca/ - returns a server not found error
thanks!
update: My event log has this error each time I try to access that domain:
Log Name: Application
Source: Microsoft-Windows-IIS-W3SVC-WP
Date: 9/2/2010 10:36:52 PM
Event ID: 2268
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: WIN-R092323U23
Description:
Could not load all ISAPI filters for site 'DEFAULT WEB SITE'. Therefore site startup aborted.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
<EventID Qualifiers="49152">2268</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-09-03T02:36:52.000000000Z" />
<EventRecordID>10233168</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>Application</Channel>
<Computer>WIN-R092323U23</Computer>
<Security />
</System>
<EventData>
<Data Name="SiteName">DEFAULT WEB SITE</Data>
<Binary>02000000</Binary>
</EventData>
</Event>
A 500 error is generally associated with an entry in your Event Log which should shed some light on what is happening. Have a look there, and perhaps update your question with the error, and we can help debug it.
This is good info. We know DNS is working if you're getting 500s. A 500 means your client is resolving the correct IP and that the server is throwing a 500 in response to the inbound HTTP request.
@coneslayer: The screen shot appears to be that of IIS bindings and the title of the post "Windows..."
So I don't believe you have an IIS configuration issue. It appears, from what we see so far, an application problem.
What is your default HTML file settings and is there some ASP/.NET or JavaScript within that is causing the 500 to be thrown?
Maybe throw up your web.config