Is it feasible?, someone explained it's but I am not sure.

Thx.

(If it is possible, how must i get it done?, I am talking about, I acquired one /world wide web folder where my website lies... how do i configure 2 different sites?)

The process is:

  1. Point both domain names towards the ip from the VPS.

  2. Configure the webserver you've placed on your VPS to response to individuals two domain names.

Within the situation of Nginx with Passenger, it's a few adding records for you nginx.conf file. Such as this:

server title domain1

      root /path/to/your/project

      passenger_enabled on

   

server title domain2

      root /path/to/your/project

      passenger_enabled on

   

Look at your webserver documentation to perform a similar factor.