Question

How do I install a 2nd application on my VPS.

Posted April 22, 2020 302 views
Applications

Hi,

I have an email sending application on my digitalocean vps . I want to install a second application on my vps, how do i do it?

Thank you

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Hi @ronball,

You’ll need to add a second configuration file for your application and point a domain to your Droplet.

Let’s start with the domain, you’ll first need to point it to your Droplet with DigitalOcean. As soon as you have that, we can continue with the server.

The second part would be the work in the Droplet. In order to create the configuration file properly, we’ll need to know which WebService you are running. To check that, you can do the following :

ssh root@YourDropletIP

Once you are in type in the following command

netstat -tulpen | grep 80

If it says Nginx, than you have Nginx installed. You can check the following tutorial how to add a new server configuration in Nginx :

https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-16-04

If it says Apache2/Httpd then you’ll need to add an Apache vhost, you can follow this tutorial to setup the configuration file

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

Regards,
KDSys

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.

@KDSys
Thank you for the quick reply. I have 2 or 3 extra domain names at godaddy. I know how to point a domain name to my VPS IP address or droplet.

But, what I want is to just drag and drop the application onto my vps server and start using it outright since i have already unzipped it. Would that be possible? The application that I want to install is an email validator.

regards
ronball

  • I’m not sure I quite understand what do you mean by application, is it a website or somesort of a service for your Droplet? Can you elaborate on that?

    Additionally,you’ll need to create configuration files for each domain name in order for it to work on the Droplet you have. Then you’ll be able to copy the files over.

@KDSys,

its a software for email validation. It basically checks if the emails are real or non-existent. I will validate my email list before I can start sending email marketing campaigns

regards
ronball

Submit an Answer