Following the instructions here: https://confluence.atlassian.com/bitbucket/publishing-a-website-on-bitbucket-cloud-221449776.html
I'm trying to setup a static page for my a team with workspace id `nist_microcal`, so I created the repo https://bitbucket.org/nist_microcal/nist_microcal.bitbucket.io and push an `index.html` file. Then I went to nist_microcal.bitbucket.io and I get a `Bad Request (400)`. If I instead go randoworkspaceid444.bitbucket.io I get `Repository not found`. This suggets that for workspace ids that contain an underscore, it may not be possible to host a static site? Is there some workaround?
Hello @oneilg ,
Welcome to the Community!
As mentioned in the document you linked, underscores can't be used for static site feature as they are not allowed in DNS hostnames:
Functionality and limitations of this feature
- ...
- Cannot use special characters: underscores are not allowed in DNS hostnames.
So yeah, the simplest workaround is to change your workspace ID and repository name to contain a hyphen or just nothing instead of the underscore.
Hope this helps.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.