DNS settings when running virtual hosts on nginx?

  • Posted December 11, 2013

Hello I am trying to run 2 websites on one droplet. I figured it out for the most part following the guides until i tried to add cname records for WWW and * on the 2nd domain name. When i typed in it went to the first domain. Any idea what lines i have to change in the setup files or in the dns hosting panel? thanks


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Please pastebin your virtualhost config files.

Before adding the wildcard DNS record, make sure everything works as it’s supposed to.