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.