cancel
Showing results for 
Search instead for 
Did you mean: 

Home hosted ASP.NET MVC 4 web app loses CSS through router

Ronald
Member

Please note: I am not hosting my sites on your BT server. I am hosting them at home. (my business is run from home).

 

Hi. I am attempting to run my ASP.NET MVC 4 web apps on a windows 7 machine with IIS 7.5. I test them by using a browser from a networked machine. I connect with a browser and enter my web address. I have one fixed IP address.

 

If I set up a web app on IIS 7.5 to run on the default port (80) everything works correctly and I can test my site.

 

If I set up the same web app on IIS 7.5 to run on any other port (e.g. 34965) the CSS is missing from my site.

 

Is there anything I can do to the router (2701HGV-C) to allow me to host my sites on ports other than 80?

 

I cannot afford to buy another IP Address, so using different ports is the only way I can run more than one web app at once.

 

Any help appreciated.

Thanks

1 REPLY 1

DaveA
BT Partner
BT Partner

Hi,

 

You could in theory use port forwarding, but I don't know too much about it.

 

The problem you're having seems very odd for a port issue.  Are you sure you haven't used absolute or relative paths in the wrong places?

 

If the CSS is set wrong then could the page be looking in the wrong place?

 

Just guessing though.

 

Dave