# How to deploy a Vite.js static site to Fleek.co **Published by:** [joshcs.eth ⚡️](https://paragraph.com/@joshcstein/) **Published on:** 2023-01-11 **URL:** https://paragraph.com/@joshcstein/how-to-deploy-a-vite-js-static-site-to-fleek-co ## Content Getting StartedIn the process of deploying to Fleek, I wasn’t able to find good guidance on deploying a Vite.js static site using Fleek. I was trying to deploy the repository below, which contains both Solidity contract and a demo site to interact with the contract on the frontend. https://github.com/jcstein/gm-portalSetting up FleekHead over to Fleek and log in, I used GitHub for auth, because it was already connected. Alternatively, you can log in with an Ethereum wallet of your choice or an email. Choose Hosting on the left sidebar, and then click Add New Site. Next, navigate to the repository you’d like to use for the site. Now choose the Continuous Deployment: Hosting Platform for your site, either IPFS or Internet Computer (Mainnet). Hit Continue. Okay, here’s where I got stuck. Deploy settings:Deploy settings for jcstein/gm-portal Repository: jcstein/gm-portal Branch: main Basic Build Settings Framework: Other Docker Image Name: node:lts Build command: yarn && yarn build Publish directory: dist Base Directory: frontend/ Note: I’m using a repo that contains both a frontend and contracts, so my base directory is frontend/Click Deploy and your site should build shortly!Adding a custom domainIf you’re feeling creative and want to link the site to a custom domain, you can go to namecheap.com or another similar provider and get the domain you’d like to use. Then head to Settings > Domain Management > Domains and click Add Custom Domain. Enter your domain and follow the guidance on how to set your DNS records.Setting up an ENSIf you’d like to attach an ENS like buildmarket.eth to your IPFS app, you can also do this on Fleek! Head to Settings > Domain Management > ENS and click Add ENS. You’ll be asked to confirm that the wallet that owns the address is you. Do so and proceed with setup! Once you’ve setup your ENS, you can access your site in an IPFS-enabled browser by navigating to https://buildmarket.eth or in a standard browser using eth.limo, https://buildmarket.eth.limoSetting up HNSYou can also setup a Handshake domain with their decentralized DNS. Head to Settings > Domain Management > HNS and click Add HNS. I didn’t go through this myself, but I’m sure you can figure it out 🫡 ## Publication Information - [joshcs.eth ⚡️](https://paragraph.com/@joshcstein/): Publication homepage - [All Posts](https://paragraph.com/@joshcstein/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@joshcstein): Subscribe to updates - [Twitter](https://twitter.com/JoshCStein): Follow on Twitter