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.
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events