Learn to Code via Tutorials on Repl.it!

← Back to all posts
Use repl.it as a VPS hosting
[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
20BECE-152-Jagr
Dukeofdoom007
KhaledaAkhter
carcraftz
JasonLucasVail
programmeruser
Comments
hotnewtop
retronbv

Isn’t it .run

[deleted]

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

retronbv

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

[deleted]

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

@retronbv

retronbv

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

[deleted]

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

retronbv
HahaYes

Whoa. This is cool

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...

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

[deleted]

Just for web stuff or probably even SSH. @NoNameByProgram

NoNameByProgram

@GaneshaSharma damn you're an expert at this

[deleted]

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