Skip to content
Sign upLog in
← 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
ForestGaming
Profile icon
RENKUN0105
Profile icon
SSonJKbuor
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
VijaySinghSing1

And what about if I run it into a Linux VPS?

Profile icon
argumentsolid

When I was learning Node.js I created a lot of small projects. Then I needed to deploy some of them on a server to be able to develop them further. I found some videos on YT and they helped me. The algorithm was almost the same with minimal changes, which doesnt really matter much. Its very important which type of hosting you choose - find a provider that you don't want to give up. I bought vps europe according to my type of operating system because I had no plans to change it. So, I advise you to check what kind of system your provider offers before installing it. The temptation to quickly choose a web hosting provider and go on to other things is great, but don't give in to it.

Profile icon
MRcheliK33

but how do you get an ssh, ok root access you can get, but ssh said permission denied(publickey)

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