google-compute-enginegoogle-cloud-platformgcloudgoogle-domain-api

Google domains not mapping to my app in GCloud


I have installed my app in the google compute engine and it is running perfectly fine at http://104.155.177.45:80/ . I have made this as a Node js app. But when i try to point this IP to my domain it is not working fine as it would. My domain is http://www.homedyou.com. I have done pointing the A Record to this IP address. How to resolve it.


Solution

  • Converting my comments to an answer, as requested:

    The instructions for setting up LAMP on Google Cloud include a section about assigning domain names, "Setting up DNS", about half way down.

    It appears the "www" sub-domain isn't configured. www.homedyou.com doesn't work, but homedyou.com does.

    Configuring this involves setting up an A record for "www" in your DNS configuration pointing to the same IP. How you go about doing this is largely dependant on your DNS service provider. It may also need to be authorized on the Google side.