I have deployed MVC5 project that I converted to the application under Default Web Site as you can see here. I think, this is a standard procedure. When I open the default URL http://intranet.company.com the server do a redirection to http://172.20.20.133/intranet/. Physical path of the intranet application is C:\inetpub\wwwroot\intranet. I also tried to move deployed project directly under Default Web Site without any virtual directory but with the same result, it was redirected to http://172.20.20.133/intranet/.
Somebody knows what's wrong? Thanks in advance.
Related
We are facing a weird issue specific only on one website even though we are hosting more than 150 websites on same server using Kentico CMS 11.
We have turned on "www" prefix settings from Kentico -> Urls & SEO for all the websites and all these sites are working without any issue.
But there is a specific website on which all the requests are getting redirected to home page if try to access with "www" prefix.
I have tried checking at code level and could not find any issue. If it would be code issue then it should appear for other websites as well.
We are using Azure app service for hosting our application so I have checked in application insight as well and could not get any lead as all the request which are logged for this specific websites are of home page.
Please help me in understanding if I need to see through this issue at some other place. I have checked with Client's IS team and they could not find any DNS settings difference when compared to other websites which are working fine.
Please check the web.config file of this site. It may contain a wrong URL redirect associated with "www" so that probably this redirect just cuts all the path from URL.
Our website not running on new server Tour website we have 2 servers one of them the site working good, we have moved the portal to other server, so when we point the dns it is not working...Web not working and then you can see the panel of that server in second imageCWP web control panel I need the solution, kindly give the proper solution...
You are using CentOS Web panel as the hosting control panel. While browsing the website check the apache error logs on the server at path
/usr/local/apache/logs/
and those logs will give you idea of whats happening.
I have created a new asp.net website and hosted it in IIS in a web server and its opening correctly in the webserver in IE but when I open it in my local windows computer I am getting the IIS welcome page. I am not able to understand how to fix this issue. Can anyone give me some suggestions. Other websites from the same server are working correctly as expected.
similar problem:
http://techspeeder.com/2016/10/28/server-2016-anywhere-access-shows-iis-instead-of-login-page/
We have a problem under Microsoft IIS. People are not able to request the favicon through the browser. We checked all the coding of the website we are hosting on it and it is all fine. Problem is that the icon file seems to be blocked in general for the outside world:
Icon location: http://www.raakbeleving.nl/favicon.ico (gives 404)
Anybody any clue what could make this happen?
Our hosting provider cannot seem to solve the problem.
Thanks in advance.
See this page for a way to set up the content type in IIS 7.
Here there are a number of additional hints for it..
MS IIS Manager version 1809 includes a MIME type of .ico
**To Clarify the Problem: **
I have my favicon.ico in the root directory of my application which has an alias name of the website. I have run the same html through a number of servers. Each one looks for the favicon.ico, finds it, and uses it.
When you access a website without a favicon.ico, the icon on the browser tab for that site will have a browser default icon. The favicon.ico, when it exists, will replace that tabl icon with a custom one. I have found a lot of sites that discuss how MS IIS does not support favicon.ico.
My asp.net web application works fine locally and when I deploy it as the default web site on my test server. So for example, when I type http:// 10.10.10.100 it works fine.
I created a virtual directory called "Test" under my "Default Web Site".
When I type http://10.10.10.100/Test it loads correctly to my log-in page, however when I log-in and click on a link it goes back to my log-in page and the url goes back referencing http://10.10.10.100 instead of http://10.10.10.100/Test/Default.aspx, for example.
My goal here is to run my application from the virtual directory and not as the default, but I don't want to change my code to a hard coded path since then it won't work anywhere else.
Any workarounds for this?
You have left a few unanswered questions, but some things to check:
Which links are you using? In other words, are they plain HTML links (<a href=""> links), ASP.NET links (<asp:HyperLink>), LinkButtons (<asp:LinkButton>), etc.?
How are you specifying the URL in those links? ASP.NET has a "shortcut" for root directory of the website if you use the tilde (~) character. So, to link to a page on your site called "MyPage.aspx", you might use "~/MyPage.aspx".