Vibe Coding with Replit -- May 2, 2026

How to Deploy a Web App on Replit So Anyone Can Access It

By Arjita SethiMay 2, 20265 min read
Direct Answer

Deploy your Replit app by clicking the Deploy button in the Replit editor and selecting Autoscale Deployment. Your app gets a .replit.app URL that anyone can visit. The free tier runs your app while the Replit tab is open. A paid deployment keeps the app running permanently with no uptime limits. For a production app that people will actually use, the paid Autoscale deployment is the right choice.

The Difference Between Running and Deploying

When you click Run in Replit, your app runs inside the Replit development environment. You can access it via a preview URL, but it stops when you close the Replit tab or when your session times out. This is fine for development and testing but not for a live app that real users need to access.

Deploying makes your app permanently accessible at a real URL -- independent of whether you have Replit open. The app runs on Replit's infrastructure, not on your session.

The simplest mental model: Run is for building. Deploy is for sharing. You build in Run, you ship with Deploy.

How to Deploy

Step 1: Make sure your app is working correctly in Run mode. Fix any bugs before deploying.

Step 2: Click the Deploy button at the top right of the Replit editor.

Step 3: Choose Autoscale Deployment. This scales your app automatically based on traffic -- appropriate for most apps at launch stage.

Step 4: Replit will build and deploy your app. This takes one to three minutes. When complete, you get a .replit.app URL.

Step 5: Test the deployed URL. This is the URL you share with users, add to your website, and use in your marketing.

Custom Domains

By default your app gets a .replit.app URL. To use your own domain (like buildwithaiclub.com), you connect it in the Replit deployment settings. You will need a paid Replit plan and access to your domain's DNS settings. Claude can write the exact DNS records you need to add.

Frequently Asked Questions

How do I deploy a web app on Replit?
Click the Deploy button, select Autoscale Deployment, wait one to three minutes, and your app gets a .replit.app URL that anyone can access permanently.
What is the difference between Run and Deploy in Replit?
Run starts your app in the development environment -- it stops when you close Replit. Deploy makes your app permanently accessible at a real URL, running on Replit's infrastructure independently.
Can I use a custom domain with Replit?
Yes. Connect your custom domain in Replit deployment settings. You need a paid Replit plan and access to your domain's DNS settings to add the required records.
Does Replit deployment cost money?
The free tier runs your app while the Replit tab is open. Paid Autoscale Deployment keeps it running permanently. For a real production app, a paid deployment is necessary.
What is Autoscale Deployment?
A Replit deployment option that automatically scales your app based on traffic. It handles more users when traffic increases and scales down when traffic decreases. Appropriate for most apps at launch.
Build With AI

Build and Deploy Your First App

Channel 1 at Build with AI covers the complete build-to-deployment process.

Join Channel 1