There are many ways to create a new site or app on Netlify. With Add new site, available on both your team’s Sites page and the Netlify UI landing page, you can choose the option that works best for you. You can add a new site in three ways:
- Import an existing project from a Git repository
- Select a prebuilt site from Netlify Templates
- Deploy local project files manually using Netlify’s deploy dropzone
# Import from an existing repository
You can import an existing project from a Git repository and deploy it on Netlify. When you import your existing project repository to Netlify, our continuous deployment will automatically update your site each time you push changes.
To import an existing project:
Go to your team’s Sites page, open the Add new site menu, and select Import an existing project.
Select the Git provider where your project is hosted.
Select your project’s existing repository.
Adjust site and build settings if necessary.
If your site uses a framework that Netlify is able to identify, Netlify will automatically populate the Build command and Publish directory with suggested values. If these starting values are incorrect, you can update them. Visit the Framework integrations page for more information on commonly used build settings for frameworks.
Similarly, if Netlify detects that your site is a monorepo, you can select from one of the automatically detected sites and Netlify will automatically configure the Build command and Publish directory based on that selection. Learn more about configuring monorepos.
Select Deploy site.
# Use Netlify Templates
With Netlify Templates, you can choose from a number of prebuilt starter projects that use popular libraries and tools from the Jamstack ecosystem. Once your site is deployed, it will be automatically updated with each commit through Netlify’s continuous deployment.
To create a new site from a template:
Go to your team’s Sites page, open the Add new site menu, and select Start from a template.
Select a template to use for your project. To help you choose which template to use, you can access a live demo or explore the source code to learn more.
Choose a Git provider to create a new repository for the chosen template.
If necessary, edit your site and repository settings. Netlify applies some default settings, but if the values are incorrect, you can update them.
Select Deploy site.
# Deploy local files
If you have an existing project on your local machine that isn’t linked to a Git repository, you can manually deploy your site by using Netlify’s deploy dropzone.
Go to your team’s Sites page, open the Add new site menu, and select Deploy manually. Drag and drop your site’s output folder to the deploy dropzone to deploy your site.
# Explore more options
Although we recommend using Add new site to create your Netlify project, there are other ways to add a new site.
With Netlify CLI, you can:
netlify initto create a new site on Netlify connected to an existing Git repository.
- Create a site from a template.
netlify deployto manually deploy a project without continuous deployment.
With Netlify API, you can:
- Create a new project configured for continuous deployment.
- Manually deploy a project.
With drag and drop, you can:
- Deploy your project using the dropzone on your team’s Sites page
- Create a project with a temporary address using the dropzone on Netlify Drop.
Did you find this doc useful?
Your feedback helps us improve our docs.