Skip to content

Delete a Site

To delete a site, you generally need to remove the files from your computer and, if you published the site, remove it from your cloud provider (e.g. GitHub, Netlify).

To delete a site from your computer, simply delete the folder containing your site’s files.

If you have deployed your site, you will need to remove it from your hosting provider.

If you deployed your site to GitHub Pages:

  1. Login to GitHub.
  2. Navigate to your repository (e.g. your-username/your-site).
  3. Click Settings tab.
  4. Scroll to the bottom of the General settings page to the Danger Zone.
  5. Click Delete this repository.
  6. Confirm the action by typing the repository name.

If you deployed your site to Netlify:

  1. Login to Netlify dashboard.
  2. Select your site from the list.
  3. Go to Site configuration > General > Danger Zone.
  4. Click Delete this site.

If you deployed your site to Cloudflare Pages:

  1. Login to Cloudflare.
  2. Go to Workers & Pages and select your project.
  3. Go to Settings > Delete Project.
  4. Confirm the deletion.