Skip to content
← Back to Community
Use repl.it as a VPS hosting
Profile icon
[deleted]

Use repl.it as a VPS/VM

Create a new bash repl. The repl name will be your VM name.

In the file, write bash.

Click run, and you get a shell!

URLs for your server are like this: VMNAME--ACCOUNT.repl.co

That's it. Really simple!

Voters
Profile icon
renkun00001
Profile icon
XREAS
Profile icon
RolandHorvath1
Profile icon
itzkaguya
Profile icon
KhaledaAkhter
Profile icon
carcraftz
Profile icon
JasonLucasVail
Profile icon
programmeruser
Comments
hotnewtop
Profile icon
retronbv

Isn’t it .run

Profile icon
[deleted]

That's just a server wrapper to interact with. @retronbv

Profile icon
retronbv

@GaneshaSharma but how would you use the .repl.co?

Profile icon
[deleted]

ssh foo--bar.repl.co
curl foo--bar.repl.co --data $(cat filetoupload)

@retronbv

Profile icon
retronbv

@GaneshaSharma but does the ssh work? edit: also root?

Profile icon
[deleted]

SSH may not work. Root, well repl.it has be like maniac and not let me log in with a password. :( @retronbv

Profile icon
retronbv
Profile icon
HahaYes

Whoa. This is cool

Profile icon
Highwayman

They used to have an api for this type of thing, but they just trashed it a while ago :/ I they are remaking it though so that’ll be cool...

Profile icon
NoNameByProgram

...what do you mean by

URLs for your server are like this: VMNAME--ACCOUNT.repl.co

this doesn't do anything according to my common sense

Profile icon
[deleted]

Just for web stuff or probably even SSH. @NoNameByProgram

Profile icon
NoNameByProgram

@GaneshaSharma damn you're an expert at this

Profile icon
[deleted]

Repl.it kinda sucks cuz it wants me to get hacker and show summer discount and it's not summer. :D @NoNameByProgram