domain name not resolving sometimes but ipaddress works fine

Posted December 27, 2013 3k 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.

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.

1 answer
What's listed in the server_name directive, of your Nginx config file?
Submit an Answer