Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.

Connect to the IDE from a subdomain? #548

Open

Description

@neocamel

I've got Cloud9 up and running on my remote VPS, and I can access it by going to MYSERVERIP:8181

What I'd prefer would be to go to c9.MYDOMAINNAME.com and access the IDE from there. Is that possible?

Also, can I use SSL? So like: https://c9.MYDOMAINNAME.com?

Additionally, is there a way to keep the Cloud9 process persistent? So I don't have to log in to terminal and run "node server.js" every time I want to access the IDE?

Sorry if these are noob questions but I'm just starting to dabble in web-based IDEs and I'd love to get my workflow streamlined. Thanks!

Activity

  1. jantznick commented on Mar 31, 2020

    @jantznick

    I can help on this some. You could use a proxy on your server to route the subdomain request through to the IP:PORT. Do you know if you're running this on nginx or apache?

    I'm not sure on the SSL question but will look into it.

    You can keep Cloud9 persistent using a node process manager, a very common one I like to use is PM2, it's pretty easy to get something up and running with it.
    https://pm2.keymetrics.io/

  2. neocamel commented on Apr 1, 2020

    @neocamel
    Author

    Thanks for the reply!

    It's an Apache server. I think since my initial message, I've changed the direction of my workflow. Now, I'm developing from a Raspberry Pi on my local network that I have here at my office. I also discovered that Visual Studio Code allows you to connect directly to a remote server via SSH, and access the remote server's files directly, without having to download them to the local machine.

    So basically, instead of having my IDE provided by my server and displayed on a remote URL, I'm using a local IDE, but connecting to my remote server from inside the IDE. I develop on two different machines (one Mac and one PC), so sometimes the settings in the IDE need to be updated in two places, but it's been a pretty efficient workflow so far.

    I'll need to look into node managers more thoroughly, as even with the Raspberry Pi server, there are still occasions when I would like to have a process running at all times that the server is running. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions