Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to publish more than one repo to Bitbucket cloud

I've read the docs here:


Which says: 


Hosting Multiple Projects Under a Single Website

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-directory 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 in projectX/index.html being served (if such a file exists), regardless of whether the trailing slash is included in the URL.


Now, maybe I'm not familiar with all of bitbucket's functionality or terminology but I'm having trouble understanding this bit of documentation.


I've created a published main repo just fine by naming one However, I can't seem to create a subdirectory with a second repo.


I tried using the project name and naming a repo under that something like "", but that didn't work. I tried uploading a git submodule, and that didn't work. I've tried just going to and that didn't work.


So I'm confused, is it even possible to publish multiple repos under one account?

1 answer

1 vote
Tyler T Atlassian Team Mar 29, 2019

Hi Will,

If your index.html is working, adding folders to the main directory will create new webpages.


  • /index.html - main page
  • /web - new folder
  • /web/index.html - new index.html file in the new folder

When you visit you will see the content from the index.html in the /web/ folder. I'll reach out to our team about updating the documentation to make it more clear. Hope this helps!

@Tyler T I think what he ask is 
can "" host files from repository "ProjectX"?


So the answer is no?

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,224 views 2 9
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