Static Site Hosting on Render
Deploy your static sites with Render for fast and reliable hosting.
Render offers free static site hosting with continuous deployment from your GitHub repository. Follow these steps to deploy your site.
1. Prepare Your Static Site
- •Click on 'Save & Download' in ThemesForApp builder dashboard to get your site files.
- •Unzip the downloaded file to access your static site files (HTML, CSS, JS, assets).
2. Create a New GitHub Repository
- •Go to https://github.com and sign in.
- •Click the '+' icon in the top right and select 'New repository'.
- •Enter a repository name (e.g., my-static-site) and set it to Public.
- •Click 'Create repository'.
3. Upload Your Site Files
- •On your new repository page, click 'Add file' > 'Upload files'.
- •Drag and drop all your static site files (not the containing folder) into the upload area.
- •Commit the changes to the main branch.
4. Connect Your Repository to Render
- •Go to https://render.com and sign up or log in.
- •Click 'New +' and select 'Static Site'.
- •Connect your GitHub account if prompted.
- •Select your repository from the list.
5. Configure Build and Publish Settings
- •Set the 'Build Command' to <code> (leave blank) </code> if your site is already built.
- •Set the 'Publish Directory' to <code> . </code> (a single dot) if your files are in the root.
- •Click 'Create Static Site'.
6. Deploy and Access Your Site
- •Render will automatically build and deploy your site.
- •Once deployed, you'll get a Render URL (e.g., https://your-site.onrender.com).
- •Visit the URL to see your live static site.
7. (Optional) Set Up a Custom Domain
- •In your Render dashboard, go to your static site settings.
- •Add your custom domain and follow the DNS instructions provided by Render.