My website is still normal in host www.somee.com but it errors in winhost. 1. Host www.somee.com 2. Host www.winhost.com How can I solve this problem?
Thanks. Maybe I have found this problem. I have 3 subfolders in 1 site: 1. /chuthapdophuvinh with domain: www.chuthapdophuvinh.com (asp.net mvc 5). It's OK 2. /sisndt with domain: www.sisndt.com.vn (asp.net mvc 5). It's OK 3. /metechco with domain: blog.chuthapdophuvinh.com (asp.net webform 2013). It has problem when I access blog.chuthapdophuvinh.com (error css) but It's OK when I access "chuthapdophuvinh.com/metechco". I make web.config and place it in the root folder as: <rule name="Rewrite to folder3" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTP_HOST}" pattern="^blog.chuthapdophuvinh.com$" /> </conditions> <action type="Rewrite" url="metechco/{R:1}" /> </rule> Please help!
Do a View Source in the browser, and you'll see the problem. It's the URL Rewrite rule. It's adding a "metechco/" in the path.
I see, it's just error default.aspx when i try to connect blog.chuthapdophuvinh.com, but it's OK when I access blog.chuthapdophuvinh.com/hrLogin.aspx.