I have a general question about nginx
Let say you don't have a domain first, but you already fired up your droplets.
You already success setup Nginx in your droplet.
But your plan is to host 2 website in the droplet
So the first website is done, assuming the default nginx page is the first website.
Now, how can i host the second website? Remember for now i still dont have the domains.
What to put in the nginx configuration (server_name) for the second website?
For the first website, i already use "server_name localhost;"
What sould i put for the second website?
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.