Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Cloud Computing
  4. Azure subdomains...

Azure subdomains...

Scheduled Pinned Locked Moved Cloud Computing
helpcloudsecurityquestionworkspace
3 Posts 2 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    R Giskard Reventlov
    wrote on last edited by
    #1

    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

    L 1 Reply Last reply
    0
    • R R Giskard Reventlov

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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[^]

      R 1 Reply Last reply
      0
      • L Lost User

        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[^]

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups