I want to use two different domains with different IP addresses, for example
domain1.com - 12.34.56.78
domain2.com - 98.76.54.32
I am using nginx on Linux OS. What should I add in my nginx.conf?
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.
You have to create two virtual hosts using
serverblock.Let’s suppose
/var/wwwcontainsdomain1.comanddomain2.comdirectories with whatever HTML pages, CGI scripts, …