Hello, I’m a new member on a pro plan. I’m positive that my questions has already been asked but I’m not understanding the information that I’ve found so far. Today a support rep helped me get my dns configured for my domain jasonbreedlove.io. My goal for that domain is just to showcase my REACT projects for potential employers. I intentionally kept it separate from my portfolio website. I realize this will require the use of subdomains but after that I get lost. How do I setup subdomains in netlify and how do I deploy my projects to these subdomains? Do I have to create a separate entry in the dns for each netlify instance? I am a pro member of netlify as it will replace Heroku for me and Heroku charges now as well. I really like what I see with netlify and as I said earlier, a member in support easily answered my question within a few minutes and did so in a way that I could understand. So, if I want to host each project on a separate subdomain, how do I do this? Thanks in advance for all of your help.
Hi @anon164 , welcome to the forums! Thanks for reaching out. Setting up subdomains in Netlify and deploying your projects to these subdomains can be done in a few steps:
Netlify can generate a custom domain for all of your Deploy Previews or branch deploys when you set up an automatic deploy subdomain. To set up your subdomains, go to Site Settings > Domain Management > Automatic deploy subdomains. Select “Edit custom domains” and check “Add custom domain” next to each deploy context you want to customize. Select any domain from the “Domain” field and add an optional prefix in the “Additional subdomain” field. Press “Save”. Netlify will automatically generate wildcard DNS records and SSL certificates for each Deploy Preview and deployed branch. There is no need to set up any additional DNS records for this.
If you want to use a subdomain without bringing the apex domain to Netlify DNS, you can delegate a subdomain to Netlify DNS without the apex domain.
Once you add an automatic deploy subdomain for branch deploys, you cannot edit or change existing manual branch subdomains. You also cannot manually add new branch subdomains, but existing branch subdomains will still work. To make changes to your branch subdomain, you must remove the automatic deploy subdomain first.
Hello, Thank you very much for your response. Automatic deploy subdomains and branch subdomains are grayed out. I cannot select them. My domain is already pointing to netlify dns and my first project is in fact live on my website. I’m confused as to what an apex domain is. It seems as though if I figure that out then I should be able to follow the remainder of your instructions. It is still a bit confusing but I’m beginning to understand.