Random()
DotNetNuke – Bad Request – Invalid Hostname
by admin on Mar.26, 2013, under Random()
After installing dotnetnuke I received the following error message when accessing my site through a different computer on the network:
Bad Request – Invalid Hostname
HTTP Error 400. The request hostname is invalid.
I searched for the reason of this error and found a working solution:
1. Launch Microsoft WebMatrix and choose your site
2. At the left side of the screen you get a Settings option
3. Replace http://localhost:21606 with your IP address, for me it would be http://172.21.2.110:21606
Should work fine afterwards.