I created a VM with GCP compute engine. My domain name is solarnauts.net (from Namecheap)
I have created a DNS A-record, for the host I have put the subdomain discourse.solarnauts.net and for the value, the external IP of my VM.
When I run ./discourse-setup, I get the port 80 and 443 warnings (see down below).
Despite add a firewall rule to my VM opening these 2 ports, i still get this error. What do you advise?
Thanks
Checking your domain name . . .WARNING: Port 443 of computer does not appear to be accessible using hostname: discourse.solarnauts.net.WARNING: Connection to [http://discourse.solarnauts.net](http://discourse.solarnauts.net/) (port 80) also fails.This suggests that discourse.solarnauts.net resolves to some IP address that does not reach this machine where you are installing discourse.The first thing to do is confirm that discourse.solarnauts.net resolves to the IP address of this server.You usually do this at the same place you purchased the domain.If you are sure that the IP address resolves correctly, it could be a firewall issue.A web search for "open ports YOUR CLOUD SERVICE" might help.
For some reason, Your DNS records may not have been created properly. I still see namecheap parking dns records and nothing else on your domain solarnauts.net
I created a firewall rule in GCP engine that opens both ports but I read there could be things more specific to container-optimized OS relating to Docker itself.
nslookup is a local check from your own system, it can be influenced by a lot of factors including your system & routerās dns cache and your ISPās dns resolver. thatās why I resorted to a 3rd party which checks through multiple PoPs to confirm if a dns records exists and what value it returns.
Ok, so that means the problem is, for now not related to the firewall and i should look into Namecheap where i created the A-record? maybe itās just a matter of waiting a bit longer? I created it less than 24 hours ago. Is that typical to need to wait longer?
Newly created dns records usually start resolving in about 10 minutes. slower resolvers can take around 2-6 hours and in worst cases, 48 hours is the maximum it should take. I donāt have any prior experience with namecheap so I canāt really speak for them but most registrarsā dns propagators start resolving fairly quickly.
The thing thatās oddly suspicious about your setup is that there seems to be no change in the dns records anywhere so maybe your records werenāt created properly.