What I'm trying to do is point a spare domain I have lying around to a Nginx install on Ubuntu in a VMWare Player image.
My Nginx server configuration simply looks like:
server {
listen 80;
server_name ----.com *.----.com;
root root/sites/test/public;
passenger_enabled on;
}
The ---- of course being my domain. I'm pointing it at a rails site which works fine via the Web Brick built in server.
I've also confirmed the DNS is resolving correctly, or at least Fiddler is reporting my IP address during the DNS Lookup portion of the web request. It just fails immediately after that to connect to any web server I'm guessing. if it matters, I configured my DNS record in DotNetPanel, so just an 'A' record with a record name of 'www' pointing to my IP address, all of that seems to work fine.
So, any tips on how I might do this? Do I need to change anything in Ubuntu's /etc/hosts to makeup for the fact its hosted inside of a VM? I've also checked other things like making sure my Windows install isn't running IIS or anything that might conflict on port 80.
Thanks for any pointers.