asp.net - My hosting is messing up my urls -


Normally when I get a request URL, I request it. RAUUURL

This gives default / example .aspx for example.

However recently my host has changed something and now the name of the application directory is displayed, so I get /appdirname/default.aspx.

Now why do I give it the directory of the application? It seems that my website is a subpage of another website, so when you go to mydomain.com, it will be crude:

/appdirname/default.aspx

I believe That's the domain of each domain defined in IIS or I am wrong.

I am not asking for an alternative solution, which should be very simple, I am asking why this is happening and how, what type of IIS setup is this happening?

PS

And the worst part was that I had this issue with God and I was not happy with my host, but now there is a problem of both hosts.

request. The RUUrl method returns everything after the domain declaration, so if your full URL is:

  http: //www.yourdomain .com: 8080 / directory / Page.aspx  < / Pre> 

then the method will return

  /directory/Page.aspx  

that does all this claim to do all this As you say, your hosting provider must have changed something, which is very naughty, and the solution should be easy. There is a good chance that they have introduced some types of URL redirections, but the best way to find out is to contact their helpdesk and ask them what is happening. I think the most successful hosting companies respond to such questions in a good time. Otherwise, they become pre-successful hosting companies.

Rick Strouhal has to say about this:


Comments