Netlify FAQ

Answers to your most common questions about Netlify.

Quick, simple, and helpful information at a glance.

How do I deploy my website on Netlify?
You can deploy your website on Netlify by connecting your Netlify account to your GitHub or GitLab repository and setting up a Build command. You can find step-by-step instructions here: https://docs.netlify.com/site-deploys/create-deploys/.
Why is my website not loading on Netlify?
There can be several reasons why your website is not loading on Netlify. Some common causes include incorrect DNS settings, incorrect Build settings, or issues with your source code. Check your settings and make sure your website is properly configured on Netlify.
How can I troubleshoot a 404 error on Netlify?
A 404 error means that the page or resource you are trying to access is not found. To troubleshoot this, make sure your website's files are correctly uploaded, your links are correct, and your files are named and located as expected.
What does "build failed" mean on Netlify?
"Build failed" means that the Netlify Build process encountered an error and could not successfully deploy your website. Check your Build logs for more details on the specific error and try to resolve it.
Can I access my Netlify site's files?
Yes, you can access your Netlify site's files by going to your Netlify dashboard and clicking on the "Site settings" button. From there, you can navigate to the "Deploys" tab and click on the "Logs" button to view your files.
Why is my website showing a "Page not found" error on Netlify?
This could be due to a misconfiguration in your Build settings or a missing file in your website's source code. Make sure your Build settings are correct, and all necessary files are present before redeploying your website on Netlify.
How do I set up a custom domain on Netlify?
You can set up a custom domain by going to your Netlify dashboard, clicking on "Domain settings" for your site, and following the instructions to connect your domain and configure DNS settings. More information can be found here: https://docs.netlify.com/domains-https/custom-domains/.
Why am I getting a "failed webhook" error on Netlify?
A "failed webhook" error means that Netlify was unable to communicate with your connected repository. This could be due to an incorrect webhook URL or an issue with your repository's permissions. Check your settings and make sure your repository is set up correctly on Netlify.
How do I enable HTTPS on my Netlify website?
HTTPS is automatically enabled for Netlify websites with custom domains. If you are using a Netlify subdomain, HTTPS is enabled by default. More information on SSL certificates can be found here: https://docs.netlify.com/domains-https/https-configuration/.
Can I use a custom SSL certificate on Netlify?
Yes, you can use a custom SSL certificate on Netlify with a custom domain. You can either upload your own certificate or use Netlify's Automated Certificate Management (ACM) feature. More information can be found here: https://docs.netlify.com/domains-https/custom-domains/#automated-certificate-management.
Why am I getting a "502 bad gateway" error on my Netlify website?
A "502 bad gateway" error means that Netlify was unable to connect to your website's server to retrieve your content. This could be due to a temporary server outage, incorrect server settings, or an issue with your Build process. Check your server settings and try redeploying your website.
How do I set up redirects on Netlify?
You can set up redirects on Netlify by adding a _redirects file to your website's public folder or by using a _redirects section in your netlify.toml file. More information and examples can be found here: https://docs.netlify.com/routing/redirects/.
Why are my CSS styles not showing on my Netlify site?
This could be due to incorrect file paths or incorrect CSS syntax. Make sure your file paths are correct and check for any errors in your CSS code. You can also use the browser's developer tools to debug and identify any issues.
How can I set up a custom error page on Netlify?
You can set up a custom error page on Netlify by creating a 404.html file in your website's public folder. You can then add your own customized content to this page to display when a user encounters a 404 error on your site.
Why is Netlify not deploying my updates?
Netlify has a build cache feature that helps speed up deployment times by reusing previously built files. If you have made updates to your files and they are not showing on your deployed site, try clearing the build cache by selecting "Clear cache and deploy site" from the Netlify deploy popup.
Is Netlify free to use?
Netlify offers a free tier for personal and small-scale websites. However, for larger and commercial websites, paid plans are available. You can learn more about the pricing here: https://www.netlify.com/pricing/.
How do I set a password for my Netlify site?
You can set a password for your Netlify site by going to your Netlify dashboard, clicking on "Site settings," and selecting the "Access control" tab. From there, you can add a password under the "Password protection" section.
Why am I seeing a "token expired" error on Netlify?
This error means that the access token being used to authenticate your requests with Netlify has expired. To resolve this, you will need to generate a new access token and update your Netlify settings accordingly. More information on access tokens can be found here: https://docs.netlify.com/cli/get-started/#obtaining-an-access-token.
How can I downgrade my Netlify plan?
You can downgrade your Netlify plan by going to your Netlify billing settings and selecting the "Downgrade plan" option. You will be prompted to confirm the downgrade and any applicable changes to your site's features or limits.
Can I use Netlify to host multiple websites?
Yes, you can host multiple websites on a single Netlify account. However, additional fees may apply depending on the plan you are using.
Why do I need a build command for my Netlify site?
The build command is necessary for Netlify to properly build and deploy your website. It tells Netlify which framework or static site generator to use and how to build your site's files.
How do I delete a Netlify site?
To delete a Netlify site, go to your Netlify dashboard, click on "Site settings," and select the "Delete site" option. You will be prompted to confirm the deletion, and once confirmed, the site will be permanently deleted.
Why is my Netlify site suspended?
A Netlify site may be suspended for several reasons, including exceeding usage limits, payment issues, or violations of Netlify's Terms of Service. If your site has