After running a repl, your repl will be hosted at the URL provided in the
The repl will be hosted with the following URLs:
REPL-NAME is the name of the repl and
USERNAME is the owner's username.
If you create a repl with a title that matches your username (i.e. repl.it/@username/username), it will be hosted at:
If an anonymous repl is created, the username used in the URL will be
Note that if your username contains underscores
_, they will be converted to dashes in the URL.
Changes made to your repl will not be reflected in the live version until the web project is re-run. Running a web repl will update its live version.
Note that a repl's public link will persist, even after the repl has been deleted. You can clear a repl of its server code before deleting it in order to prevent it from loading.
Any hosted repl can be linked to a domain that you own. This includes both static sites and HTTP servers. To get started, you'll need a domain to link with your repl. If you don't already have a domain, Dotcomboom has created a great tutorial on getting a free domain from Freenom.
Once you have your domain link, we can get to work linking it with your repl:
CNAMErecord to your domain, pointing at your repl's special
- The type should be
hostnamewill be the subdomain you want, or you can enter
@if you'd like to use the full domain. Some services do not allow
CNAMEs to be at the top level. We recommend instead using www and making sure you enter www.yourdomain.com in your repl.
targetshould be the special repl.co link you got when you started linking your repl. It should contain a long string of random numbers and letters at the beginning.
example.com, I'd enter
example.comin the repl linking box. Then, in my registrar the target should be
coolproject.example.com, I'd enter
coolproject.example.comin the repl linking box, and
coolprojectin the target field on my registrar.
The exact steps will vary between services. Here's an example of how it might look using Google Domains:
Here is another example of how it might look in Cloudflare. Please make sure your domain is not proxied as it will cause issues linking your domain.
It may take some time for the DNS record to be updated. Once connected, click the big green button to finish and your domain should be linked!
You can unlink your domain at any time by clicking on the pencil icon and clicking "Unlink".
Here's an example of a hosted webpage using p5.js. The live, full-screen version can be found here.
If you require your hosted web page to be taken down, please contact us at [email protected].