Skip to content

Prepare server to host API #15

@brennanMKE

Description

@brennanMKE

Virtual Hosting appears to be in order for Digital Ocean to make everything run from a single IP address. The vhost module appears to be popular and very capable.

I've updated a Digital Ocean instance with Ubuntu and the latest stable release of node and will configure it to run vhost so that it proxies the requests on port 80 for a named host to the port which is running the API. This way we can also run the frontend website with a responsive layout from a different instance as well as other websites and APIs on the same server.

To run the API and website for Chicago we could use virtual hosts with separate instances so they are managed separately while still working from the same $5/month droplet on Digital Ocean. I am curious how well it will hold up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions