How to setup my custom domain on gcloud

1 view
Skip to first unread message

Ignacio Martínez via StackOverflow

unread,
May 1, 2017, 12:32:05 PM5/1/17
to google-appengin...@googlegroups.com

I tried using these guides:

https://cloud.google.com/dns/quickstart

https://cloud.google.com/dns/migrating

When I ping my domain, I get a response from my compute-engine external IP address, but my WebApp is not loading.

Am I missing something? I get ERR_CONNECTION_REFUSED



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/43722639/how-to-setup-my-custom-domain-on-gcloud

alpeware via StackOverflow

unread,
May 1, 2017, 1:42:06 PM5/1/17
to google-appengin...@googlegroups.com

There is not enough information to definitely say what the issue is, but here are some suggestions to troubleshoot.

Have your registrar's name server records been updated?

Make sure the following consistently returns Google's name servers for your zone

$ dig +short NS example.com

Have Google's name server propagated the change?

List your Google name servers -

$ gcloud dns managed-zones describe examplezonename

Verify they have propagated -

$ dig example.com @your_zone_nameserver

Are your A and CNAME records set correctly?

Next you should verify that the DNS reply returns the correct A and CNAME entries.

$ dig example.com A
$ dig example.com CNAME

Have you configured your IP and Firewall settings correctly?

You can follow the troubleshooting guide here or update your question with more details.

Caveats

Please also keep in mind that DNS entries are cached and it can take some time for your changes to take effect.

Pings of your external IP are most likely answered by a load balancer and not your instance specifically.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/43722639/how-to-setup-my-custom-domain-on-gcloud/43723612#43723612

Ignacio Martínez via StackOverflow

unread,
May 2, 2017, 3:07:05 PM5/2/17
to google-appengin...@googlegroups.com

I tried using these guides:

https://cloud.google.com/dns/quickstart

https://cloud.google.com/dns/migrating

When I ping my domain, I get a response from my compute-engine external IP address, but my WebApp is not loading.

Am I missing something? I get ERR_CONNECTION_REFUSED

enter image description here

enter image description here

alpeware via StackOverflow

unread,
May 3, 2017, 3:27:05 PM5/3/17
to google-appengin...@googlegroups.com

There is not enough information to definitely say what the issue is, but here are some suggestions to troubleshoot.

Have your registrar's name server records been updated?

Make sure the following consistently returns Google's name servers for your zone

$ dig +short NS example.com

Have Google's name server propagated the change?

List your Google name servers -

$ gcloud dns managed-zones describe examplezonename

Verify they have propagated -

$ dig example.com @your_zone_nameserver

Are your A and CNAME records set correctly?

Next you should verify that the DNS reply returns the correct A and CNAME entries.

$ dig example.com A
$ dig example.com CNAME

Have you configured your IP and Firewall settings correctly?

You can follow the troubleshooting guide here or update your question with more details.

It appears that your web server may not be set up correctly and there does not seem to be any process listening on either port 80 or 443.

$ nmap queguia.com

Starting Nmap 7.40 ( https://nmap.org ) at 2017-05-03 12:16 PDT
Nmap scan report for queguia.com (35.184.29.62)
Host is up (0.15s latency).
rDNS record for 35.184.29.62: 62.29.184.35.bc.googleusercontent.com
Not shown: 996 filtered ports
PORT     STATE  SERVICE
22/tcp   open   ssh
80/tcp   closed http
443/tcp  closed https
3389/tcp closed ms-wbt-server

Nmap done: 1 IP address (1 host up) scanned in 10.21 seconds

Caveats

Please also keep in mind that DNS entries are cached and it can take some time for your changes to take effect.

Pings of your external IP are most likely answered by a load balancer and not your instance specifically.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/43722639/how-to-setup-my-custom-domain-on-gcloud/43723612#43723612

Ignacio Martínez via StackOverflow

unread,
May 4, 2017, 1:17:04 AM5/4/17
to google-appengin...@googlegroups.com

Google Enterprise Support:

All App Engine services run by default (domain.appspot.com). In order to map your service on your own domain name, please read the following article https://cloud.google.com/appengine/docs/standard/python/console/using-custom-domains-and-ssl



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/43722639/how-to-setup-my-custom-domain-on-gcloud/43774399#43774399
Reply all
Reply to author
Forward
0 new messages