Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

subdomains in development environment giving error 400.

$
0
0

Hi,

I am trying to work with subdomains under the development environment, so first i tried to map localhost to a supposed domain, i changed the C:\Windows\System32\drivers\etc\hosts by adding:

127.0.0.1    name

and changed the the C:\Users\Alan\Documents\IISExpress\config\applicationhost.xml like this:

<binding protocol="http" bindingInformation="*:8888:name" />

and it worked fine, but when i tried to do the same for subdomains so:

127.0.0.1   sub.name

<binding protocol="http" bindingInformation="*:8888:sub.name" />

it didn't work, and i am getting error 400 bad request.

so what am i missing ?

i am talking about launching the website from visual studio 2010 with the last update for azure, so i expect IIS 8 Express installed on win7 x64.

thanks.


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>