Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

id_with_under.bitbucket.io doesn't work?

oneilg April 17, 2020

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?

1 answer

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events