1

I have a single droplet at Digital Ocean and I host my website there. It's a standalone application with a built-in webserver. I want to host another website on that droplet as well. It'll also be the same kind of application with a built-in webserver, but the domain will be different and the website itself also will be different. That is, 2 different websites. The port should be the same: 443. The ip address will be different probably, although I'm not sure because it's a single droplet.

I know I can do that. But on Digital Ocean they say that I'll have to do that via Apache or Nginx. Is it a requirement? If not, how can I setup all that without them?

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Oskar K.
  • 541
  • 1
  • 6
  • 18

1 Answers1

2

I don't think you can can run two application in same port as DO is not providing additional IP's for Droplet. I would say try running the application using Nginx Proxy or Apache Proxy

Tom
  • 58
  • 1
  • 1
  • 5
  • ok. I have a droplet of 512 Mb for $5/month, the basic one. do you think 2 websites with nginx will work fast enough on it given that I have 200 visitors per day for them both at best? – Oskar K. Apr 23 '16 at 12:30
  • It depends upon the memory/CPU requirements for the application and nginx will be perfect(low resource consumption). – Tom Apr 23 '16 at 12:37
  • I think it consumes relatively low memory, it's in Haskell. – Oskar K. Apr 23 '16 at 12:59