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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Connect Repo to subdomain and domain

Hi everyone,

firstly, thank you for offering a great solution with bitbucket.

I'm very new git/Bitbucket and still sorting things.

My question:

Is it possible to connect my bitbucket versions/account to my webspace (subdomain and domain) ?

My logic says that developing with a versioning tool and then publishing the website by hand is not the correct way.

I have a domain and a subdomain. Of course I'm developing on the subdomain, and when I'm finished I want to publish/redirect/deploy (or whatever it is called) to my main domain.

I've seen that it is possible to host a statis website on bitbucket, but thats not what I want, since I'm using PHP/MYSQLI and JS.

Also I've tried to set the cname record in my domain panel to but it ends up with a 404 error.

I would highly appreciate if someone could point me in the right direction, since this bitbucket service turns out to be the best finding of last couple of years :D

Thank you for any hints

Best Regards


1 answer

0 votes
AgentSmith Atlassian Team Oct 27, 2013

Excerpt from our documentation:

You may have multiple projects that you want to host from the same Bitbucket websites, you can do this by placing each project in a repository subdirectory. In this example, you would want to organize things such that you can point users to:




Each project sub-sirectory would act as a self-contained website with its own index.html.

Bitbucket is forgiving with regard to trailing slashes: a request to with result inprojectX/index.html being served (if such a file exists), regardless of whether the trailing slash is included in the URL.

Full details available here:

Hi Jason, thank you for your answer. Unfortunately I'm not lacking of resources.. I'm looking forward to control the different versions of my website with bb/git. Not simply host a static website.

Please correct me if I'm wrong here:

Develop Project on local machine >> push to bb/repo >> and then??? It sits on some webspace.. How can I deploy it when I'm finished.

It's wrong to put all effort in some version control and then publish it by pushing it MANUALLY on MY FTP - isn't it?

Best Redards


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

117 views 0 1
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