Deploying your first website on Netlify

Natalia Wit
3 min readOct 9, 2020

--

This week I finally finished my personal portfolio website and this will make it the first time I have to deploy my website onto the server. Either if you have to deploy your new project or a personal portfolio website, Netlify is a great platform that makes the deploying of websites a smooth process. I know it may feel very intimidating at first but I promise it does not have to be if you carefully follow the DOCS.

Netlify is a free platform that makes a smooth process of deploying your favorite projects into its platform.

To deploy your project, you will have to commit your code to a git repository and push it up with your final changes. The git hosting provider I use is GitHub, I am going to assume that you are familiar with using GitHub.

Once your code is pushed up and you're ready to deploy your site these will be the steps that you will follow —

1. Netlify Create a new site page: https://app.netlify.com/start — by directly clicking this link, you will be directed to sign in via Github and that will be your sign in info moving forward. Once you sign in you will be directed to the Create a new site screen.

Sign-In via Github and Create New Site

2. You will be prompted to connect to the git provider your code is hosted with. Once you connect to your Git account, you will choose the respiratory you want to deploy.

3. Once you choose your repository, you will be asked to choose a branch you want to deploy. That will be a Master unless you saved your changes in another branch of your choice. You also need to choose the directory you want to publish. Press the (!) next to the publish directory for more info.

Choose your repository
Branch to deploy

Once you follow those steps you are ready to deploy your website. It will build your code and make your website go live.

What’s great about Netlify is that when you push up your code to Github, it will automatically deploy your code and update your changes every time. Netlify also allows you to use an external domain of your choice and connect to your deployment. Usually, if you want a custom domain you will have to pay a yearly fee, I used NameCheap.

I hope this blog makes your deployment smooth and easy! Happy deploying!

--

--

No responses yet