# Configuring a subdomain with subdirectories for each project’s documentation

**URL:** <https://discourse.julialang.org/t/configuring-a-subdomain-with-subdirectories-for-each-project-s-documentation/97802>\
**Category:** General Usage\
**Created:** [April 23, 2023, 3:39am UTC](https://discourse.julialang.org/t/configuring-a-subdomain-with-subdirectories-for-each-project-s-documentation/97802 "2023-04-23T03:39:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cadojo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cadojo/32/25328_2.png) [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Post date:** [April 23, 2023, 3:39am UTC](https://discourse.julialang.org/t/configuring-a-subdomain-with-subdirectories-for-each-project-s-documentation/97802/1 "2023-04-23T03:39:35Z")

</div>

Continuing the discussion from [How do I publish documenter.jl-generated docs to a subdirectory of a custom subddomain?](https://discourse.julialang.org/t/how-do-i-publish-documenter-jl-generated-docs-to-a-subdirectory-of-a-custom-subddomain/46602/2):

I am trying to replicate this, and I’m confused about what “custom domain” I should use in my GitHub Pages settings for each repository. Say I have the username “user” at GitHub, and I own the name “[example.com](http://example.com)”. My website is a GitHub project called “example.repo”. My github pages defaults to [user.github.io](http://user.github.io). I can go into settings in GitHub, and serve my top-level website (“example.repo”) to the custom domain “[example.com](http://example.com)”. Then I go to my DNS provider and create a CNAME which points “[example.com](http://example.com)” to “[user.github.io](http://user.github.io)”. This works great!

Now I want to create a subdomain: “[docs.example.com](http://docs.example.com)”. I want each of my projects (A.jl, B.jl, C.jl) to have their documentation hosted at “[docs.example.com/A.jl”](http://docs.example.com/A.jl%E2%80%9D), etc.

How can I do so?
