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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

id_with_under.bitbucket.io doesn't work?

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

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

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...

3,888 views 10 16
Read article

Community Events

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

Events near you