Is it possible? Someone told me it is but I’m not sure.
If its possible, how should I do it? I have one /www folder where my website lies. How can I configure 2 different sites?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The procedure is:
Point both domains to the ip of the VPS.
Configure the webserver you have installed on your VPS to answer to those two domains.
In the case of Nginx with Passenger, it is a matter of adding entries to you nginx.conf file. Like this:
Check your webserver documentation to do a similar thing.