- create a bitbucket account with username
- create a repo named username.bitbucket.org
- mkdir username.bitbucket.org
- cd username.bitbucket.org
- echo "hi" > index.html
- git init .
- git add
- git commit -m "first site index"
- git remote add origin [email protected]:username/username.bitbucket.org.git
- git push origin master
- git branch --set-upstream master origin/master
- git pull
- https://username.bitbucket.org
https://confluence.atlassian.com/display/BITBUCKET/Publishing+a+Website+on+Bitbucket
Scroll down to the comments: You can setup a CNAME for your account . You cannot set up a CNAME for a static website hosted on Bitbucket. The account you setup a CNAME for may have a repository that represents a static website.