Thanks Greg I have it working at last :-)
In DNSMadeEasy I made a CNAME record with name=docs Alias to myblob.website.blob.core.windows.net ( i.e mapping to the storage account in Azure) then I made a redirect for www to http://docs.comeandcode.org.index.html So now www.comeandcode.org opens the index.html to say "hello world" Kirsten On Mon, Dec 18, 2017 at 3:06 PM, Greg Low <[email protected]> wrote: > Sorry, not following. Azure mapping of what? I thought it was just a > static website with pages served out of a storage account… > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* [email protected] [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *kirsten greed > *Sent:* Monday, 18 December 2017 1:50 PM > *To:* ozDotNet <[email protected]> > > *Subject:* Re: Using Azure blob storage for static web sites > > > > Greg, > > I am having a play with DNSMadeEasy > > I think the catch might be that your method needs a sub-domain. > > and www is already needed for the Azure mapping. > > Kirsten > > > > On Mon, Dec 18, 2017 at 12:48 PM, Greg Low <[email protected]> wrote: > > Yep, just a convenient HTTP redirect provided by the DNS provider as part > of their DNS hosting. > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* [email protected] [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *Ken Schaefer > *Sent:* Monday, 18 December 2017 12:35 PM > > > *To:* ozDotNet <[email protected]> > *Subject:* RE: Using Azure blob storage for static web sites > > > > This isn’t a DNS redirect. > > > > It is either a HTTP based redirect, or it is using a HTML frame/iframe. > > > > DNS doesn’t do redirects – at most it does aliases (CNAME records -> A > records) > > > > Cheers > > Ken > > > > *From:* [email protected] [mailto:ozdotnet-bounces@ > ozdotnet.com <[email protected]>] *On Behalf Of *Greg Low > *Sent:* Monday, 18 December 2017 10:52 AM > *To:* ozDotNet <[email protected]> > *Subject:* RE: Using Azure blob storage for static web sites > > > > Actually, even more to the point, I just redirected > http://kirsten.sqldownunder.com to an html file in an azure storage > account: > > > > > > When I access it, the web page comes up. > > > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* Greg Low [mailto:[email protected]] > *Sent:* Monday, 18 December 2017 10:47 AM > *To:* 'ozDotNet' <[email protected]> > *Subject:* RE: Using Azure blob storage for static web sites > > > > I just created http://kirstentest.sqldownunder.com pointing to > https://sqldownunder.com/SQLDownUnderMP3Feed.xml > > > > > > Seems to work fine. If you access it, our MP3 feed comes back. > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* [email protected] [mailto:ozdotnet-bounces@ > ozdotnet.com <[email protected]>] *On Behalf Of *kirsten greed > *Sent:* Monday, 18 December 2017 10:39 AM > *To:* ozDotNet <[email protected]> > *Subject:* Re: Using Azure blob storage for static web sites > > > > Hi Greg > > I am out of my depth, but it doesn't seem possible, looking at eudoxos > answer. > > https://stackoverflow.com/questions/9444055/using-dns- > to-redirect-to-another-url-with-a-path?rq=1 > > Kirsten > > > > On Mon, Dec 18, 2017 at 9:57 AM, Greg Low <[email protected]> wrote: > > Would an HTTP redirect at the DNS level fix that for you? > > > > Regards, > > > > Greg > > > > Dr Greg Low > > > > 1300SQLSQL (1300 775 775) office | +61 419201410 <+61%20419%20201%20410> > mobile│ +61 3 8676 4913 <+61%203%208676%204913> fax > > SQL Down Under | Web: www.sqldownunder.com |http://greglow.me > > > > *From:* [email protected] [mailto:ozdotnet-bounces@ > ozdotnet.com] *On Behalf Of *kirsten greed > *Sent:* Monday, 18 December 2017 9:23 AM > *To:* ozDotNet <[email protected]> > *Subject:* Using Azure blob storage for static web sites > > > > Hi folks > > > > I am investigating using Azure blob storage and CDN to host a static > website with a contact form because this provides low cost hosting and ssl. > > > > I have managed to get the site working but with the following limitations > > > > 1) I am yet to map the domain directly to an blob. > > ie the user has to go to https://www.mydomain.com/index.html not > https://www.mydomain.com > > > > I gather Microsoft plan to fix this this year > > > > https://feedback.azure.com/forums/217298-storage/ > suggestions/6417741-static-website-hosting-in-azure-blob-storage > > > > I have googled some workarounds involving Azure Functions or CDN Rewrite > rules but am yet to try. > > > > > > 2) How to do a Contact form that emails me on submit. > > > > I have seen some advice at https://stackoverflow.com/ > questions/9533172/adding-contact-form-to-a-static-website > > > > I am wanting some advice on how to proceed. I don't mind a bit of a > learning curve as long as the learning is not going to be redundant in 6 > months time. > > > > Maybe I should just do a web app with Cloudflare for ssl ( which I have > done before) and wait. > > > > Thoughts and experiences? > > Kirsten > > > > > > > > >
