DNS Fail
There are other websites created in the default port 80 with the same ip address but difference hostname and resides in a different application pool and they can be opened in browser and pinged from the command prompt. But my web site is not browsable and cannot
be pinged from the command prompt. I'm not sure what is missing here to make the site work correctly. I have even tried to make the website run in a different port but the same problem exists.
The reason is because I suspect your site hostname is non-existent in your domain's DNS server. Without that pointer, it will not work. Check on that and come back.
Mark as answer posts that helped you.
Marked as answer by lekha06 on Nov 06, 2012 10:28 AM
This is the first time am working with host names or DNS concepts. So can you please let me know how to check whether my hostname exits in DNS server. I have checked the hosts file in location c:\windows\system32\drivers\etc but there are no entries for
any hostnames even for the ones that is working.
lekha06
Member
1 Points
3 Posts
Problems in assigning hostname to IIS 7 website
Nov 05, 2012 10:36 AM|LINK
I have a web application configured in IIS7. The websitename is SummaryReport. This is
associated with an application pool of .Net 4.0 framework and identity is LocalSystem. In
Bindings section, i'm trying to bind the hostname. The host name would be
report.qa.company.com and runs in port 80. The IP address 10.200.2.98 is also assigned in
the bindings secion. Then i edited applicationHost.config file to include the appropriate
binding for this website as follows: <binding protocol="http"
bindingInformation="10.200.2.98:80:report.qa.company.com" /> I restarted the IIS and was
able to see the bindings reflected. But when i try to browse to the site as
http://report.qa.company.com it displays the "Page Cannot be displayed" page with message as
DNS Fail
There are other websites created in the default port 80 with the same ip address but difference hostname and resides in a different application pool and they can be opened in browser and pinged from the command prompt. But my web site is not browsable and cannot be pinged from the command prompt. I'm not sure what is missing here to make the site work correctly. I have even tried to make the website run in a different port but the same problem exists.
bbcompent1
All-Star
32974 Points
8500 Posts
Moderator
Re: Problems in assigning hostname to IIS 7 website
Nov 05, 2012 12:26 PM|LINK
The reason is because I suspect your site hostname is non-existent in your domain's DNS server. Without that pointer, it will not work. Check on that and come back.
lekha06
Member
1 Points
3 Posts
Re: Problems in assigning hostname to IIS 7 website
Nov 06, 2012 03:50 AM|LINK
This is the first time am working with host names or DNS concepts. So can you please let me know how to check whether my hostname exits in DNS server. I have checked the hosts file in location c:\windows\system32\drivers\etc but there are no entries for any hostnames even for the ones that is working.
bbcompent1
All-Star
32974 Points
8500 Posts
Moderator
Re: Problems in assigning hostname to IIS 7 website
Nov 06, 2012 10:22 AM|LINK
This would be your corporate domain name server, contact your IT Department and they can assist you.
lekha06
Member
1 Points
3 Posts
Re: Problems in assigning hostname to IIS 7 website
Nov 06, 2012 10:29 AM|LINK
I have registered my hostname in DNS through the concerned department. Now the application is accessible through hostname. Thank you!!!
bbcompent1
All-Star
32974 Points
8500 Posts
Moderator
Re: Problems in assigning hostname to IIS 7 website
Nov 06, 2012 10:32 AM|LINK
Glad to hear its working for you, happy programming!