views:

24

answers:

0

Currently I can only get the default nginx page to come up on my domain name. I am pretty sure the error is either in the /etc/hosts file or the enginx.config file.

my /etc/hosts file is

127.0.0.1    localhost.localdomain    localhost
myip         server.mydomain.com  server

and nginx.config is:

    server {
       listen 80;
       server_name server.mydomain.com;
       root /whatever/pulic;
       passenger_enabled on;
       rails_env production;

I don't get any errors in the log. Incidentally I can run mongrel and on mydomain:3000 see the application there.