domain name not resolving sometimes but ipaddress works fine

December 27, 2013 2.8k views
the server set up is ubuntu+nginx+passenger+rails+phpfgi I have a domain pointed to rails site and subdomain pointed to php site all with A record and nginx virtual host setting. The problem is the domain does not work sometimes while ipaddress is working.
1 Answer
What's listed in the server_name directive, of your Nginx config file?
Have another answer? Share your knowledge.