Support Forums

Can I use my domain and subdomains separately from two separate git repos?

I have our website’s code saved in one git repo. Also, have documentation in a different repo.
Can I use Netlify to host both of these sites separately?
One hosting should server only our main website (example.com). And another hosting should serve docs.example.com only. What do I need to keep in mind to make these sites work fine, especially when I create our custom domain & custom subdomains separately like that?

Hi @devopstoday11,

You can easily deploy 2 websites using 2 different repos. There should be no problem with that. The domain would not have any problem too as long as it’s being used in the same account (team).

Thank you @hrishikesh. I will let you know if I face any issue. Appreciate responding to the query.