Azure subdomains...
-
1: never spend all day Sunday doing this. 2: Help! 3: Serves me right: got lost in the weeds... :-) Ok, so I have setup my azure web site. Pretty straightforward, got the SSL working and all is sweet, works like a charm. Now for the bit I am struggling with... Let's say my main site is called www.robots.life (a legit domain, btw). Now I want to do admin.robots.life. I have setup the CNAME record and azure is fine with admin.robots.life as an application setup as /Admin, site/admin (where the files reside). I have also added a rewrite rule to send users to admin/robots.life. But it is not working. Firstly, where do I physically locate the files? I have it as site/Admin and robots.life, the main site, as site/wwwroot. Is that correct? It appears to be displaying a path that has an extra "Admin" and goes straight to a blank page. Nothing appears in the azure log or my log to show what the error might be and switching custom errors off does nothing. It does get to the login page if I enter the url manually but then hangs after entering user id, password and submitting. I can only imagine I am doing something monumentally stupid. Like breathing. Would really appreciate some direction here. If this isn't enough info, be happy to supply several reams of closely scrawled gibberish. Thanks
-
1: never spend all day Sunday doing this. 2: Help! 3: Serves me right: got lost in the weeds... :-) Ok, so I have setup my azure web site. Pretty straightforward, got the SSL working and all is sweet, works like a charm. Now for the bit I am struggling with... Let's say my main site is called www.robots.life (a legit domain, btw). Now I want to do admin.robots.life. I have setup the CNAME record and azure is fine with admin.robots.life as an application setup as /Admin, site/admin (where the files reside). I have also added a rewrite rule to send users to admin/robots.life. But it is not working. Firstly, where do I physically locate the files? I have it as site/Admin and robots.life, the main site, as site/wwwroot. Is that correct? It appears to be displaying a path that has an extra "Admin" and goes straight to a blank page. Nothing appears in the azure log or my log to show what the error might be and switching custom errors off does nothing. It does get to the login page if I enter the url manually but then hangs after entering user id, password and submitting. I can only imagine I am doing something monumentally stupid. Like breathing. Would really appreciate some direction here. If this isn't enough info, be happy to supply several reams of closely scrawled gibberish. Thanks
Mark. Best of luck. Presumably you have seen these two articles ? Configure a custom domain name in Cloud Services | Microsoft Azure[^] and How to: configure custom DNS names for multiple sub domain-based Azure web sites | Stefan Johansson[^]
-
Mark. Best of luck. Presumably you have seen these two articles ? Configure a custom domain name in Cloud Services | Microsoft Azure[^] and How to: configure custom DNS names for multiple sub domain-based Azure web sites | Stefan Johansson[^]
That was the easy bit. Getting it to work appears somewhat more difficult. Thanks for the response though. Anyway, after a night away from it, I'll look again when I get home. I have a feeling it's me being as dumb as a box of rusty spanners that's the problem.