Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

id_with_under.bitbucket.io doesn't work?

oneilg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Kyle Campbell
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 5, 2025

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.


This is frankly absurd. Changing the workspace url would break every existing link to the current workspace, just to be able to host a website.

Please consider doing some kind of substitution for invalid urls. In fact, this entire bitbucket.io system needs an overhaul.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events