Share link issue hosting Ghost blog under subfolder on Windows Azure Share link issue hosting Ghost blog under subfolder on Windows Azure azure azure

Share link issue hosting Ghost blog under subfolder on Windows Azure


Turns out there is also a websiteUrlSSL app setting that is not mentioned on the readme.

I just needed to set this too.

https://github.com/felixrieseberg/Ghost-Azure/issues/57


In your web.config, you can try to set the your custom domain https://www.mycustomdomain.com/blog/{R:1} instead of the Azure Web App Url. Which should rewrite the URL to your custom domain and pass through the DNS server.

And the remaining issues, I think it should be related with the ghost configurations. Please double check whether you have set the correct configuration in your ghost application, as mentioned at Custom Domain Setup


Before you read my answer

  • I set my server on apache not Azure so I'm not sure about configs in Microsoft Azure
  • You need to have the access of files of your Ghost blog site
  • My answer is about Ghost application's config not Azure system config

Answer

  1. Open the file located at /path/to/ghost/config.js with any editor you like
  2. Find the line production and under it you should have a url:http://yourdomain.com modify it to the URL you want
  3. You should ask your hosting provider in this case Azure to restart the node js application for Ghost (If you want to SSH method you can visit A2Hosting tutorial but since it's using terminal I don't use this method, if you have the command wrong it might break your server)
  4. I have look through the setting of sharing function it seems it base on post URL so if it doesn't work right after you change the config of the URL section tell me

Last I can't help you on the rewrite rule since I'm not familiar on IIS or Microsoft Azure