You state in https://confluence.atlassian.com/bitbucket/publishing-a-website-on-bitbucket-cloud-221449776.html
Publishing a static website on Bitbucket Cloud requires you to combine your account's name with the
bitbucket.io
domain suffix. So, your account's name must be acceptable to your DNS service. Upper case characters and special characters are typically not acceptable. For example, if your account's name ishappy_cat
, you would need to create a new account with a username ofhappycat
to use this feature because underscores are not allowed in DNS hostnames. Your repository name would behappycat.bitbucket.io
and the published static website is reached by this URL:https://
happycat
.bitbucket.io
Great. I have an underscore in my username, which I've had with Bitbucket for almost eight years. Now I have to get another account? Oh, and I guess I need to sign up with another email address because Bitbucket won't let me create another account with the same email address.
Could you please just map underscores into hyphens, which are a legal URL domain name?
Maybe they will, but I have a feeling they've allowed both underscores and hyphens in existing usernames, so it would be incorrect to map happy-cat to happy_cat, because there may be a valid, existing user named happy-cat who wouldn't want his url getting redirected to another user's account.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.