Github pages gives InvalidDNSError for google domains custom URL - github-pages

I have a web app I deployed on my github pages website under
shreyj1729.github.io/pairprogram.me
which resolves to
shreyjoshi.com/pairprogram.me since I have my own domain name. I recently got the domain pairprogram.app on google domains which I'm trying to link to the repo, but I keep getting the following error:
Here is my DNS records on google domains:
I am not sure what's going wrong. I've tried different CNAMEs on google domains to no avail. The app itself runs fine at the new URL but the error on github pages persists. How can I fix this?

Related

Google Oauth: Added a new redirect_uri, getting "The app is blocked" error on the new subdomain

My app runs on multiple subdomains
i.e. abc.foo.com xyz.foo.com for different regions.
We recently created a PWA for our app which runs on a different subdomain
m-abc.foo.com m-xyz.foo.com
To enable Sign in with Google for the PWAs, I added the redirect_uris and Authorized origins in the API Credentials for Google Cloud Platform.
Now, for these new subdomains I am getting the following error on the consent screen after choosing the google email address
This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.
The app currently asks for read/write access for Calendar only.
Could not find anything definitive on support documents either.
Anybody has any idea what I might be missing here?
To check, I added another subdomain def.foo.com and added redirect_uri for it. This time Google Signin worked fine without problem.
Does this have anything to do with the apps being a PWA?
Thanks!

Too Many Redirects Error in GCP while integrating Lets Encrypt SSL for PrestaShop

I've started learning Google Cloud Platform (GCP). I want to host an e-commerce website using PrestaShop CMS. This CMS is readily available as a Google Click To Deploy product in the GCP Marketplace.
Everything works totally fine unless I start using the Let's Encrypt SSL Certificate in the website. I have successfully set-up the Cloud DNS configurations and the domain name is pointing to correct IP address of VM instance (where the website is being hosted).
But once I run Lets Encrypt's Certbot, I don't know what it does to my website but it starts giving me an error in the browser - ERR_TOO_MANY_REDIRECTS .
UPDATE
I'm posting some screenshots that I've collected about conf files.
My domain name is www.themkumar.com but I couldn't find it in any of the conf files. If someone could tell me how to add it there, I'll be really grateful to you.
FINALLY, I solved this issue!
I just found that configuring any domain in Google Cloud DNS doesn't make any changes to it's virtual host file. I had to add my domain in 000-default.conf file so that it can get visible to the Certbot. I altered this file and added my domain then followed the quick process to generate the SSL certificate for my domain.
After that, I logged into my PrestaShop admin panel and enabled SSL Certificate for all the pages.
After that, it's working totally fine. If anyone ever faces this same issue, feel free to ping me I won't mind answering you guys even if you're a totally newbie!

Site can't be reached: Server IP address can't be found ERR_NAME_NOT_RESOLVED

Please bear with me, I'm a newb. I have a domain through google, hosting through gcp, and using wordpress click to deploy. My site was built and working fine. I did some work on it yesterday to add and update several pages. Everything was good. I followed a tutorial on onepagezen for free SSL certificate setup. Again, everything was fine after and https was working. Then a bit later all of a sudden, I am getting this error, and cannot access my website or my wp-admin dashboard. I've checked my DNS configuration and it's still the correct external ip. I tried resetting my vm instance, but no luck. I would gladly provide some code if I knew what if any would do any good. Halp?
It is related to your onepagezen and WordPress set up. They are not related to the GCP.
You can check your steps by following this document for Free SSL Certificate Setup for WordPress on Google Cloud and this onepagezen’s document for Domain Name Configuration for WordPress on Google Cloud. As these are third party documents, Google cannot guarantee the validity of the information they contain.
If you do not need this SSL, you can remove it.

Multiple results in people picker of hosted name site collection with ADFS

I am having a problem when setting up ADFS in a web application which have hosted name site collections. Although I put ADFS authentication in a different zone, but in my hosted site name collections, I still can search for ADFS accounts. Please refer to the detailed info below:
My situation is:
I have a web application which have 2 hosted name site collections. It is using NTML authentication in Default Zone.
In order to use ADFS, I extended the web application to Internet Zone
However, during the extending web application, I think the SercurityTokenServiceApplication got some problems. I had to restart application pool of the SecurityTokenServiceApplication. After that I continued to configure ADFS in sharepoint.
Then my problem is:
The login via ADFS works perfectly. However, I have got a problem with the people picker of the hosted name site collections. When I opened the people picker to check permission, I tried to enter an account and the people picker showed both results from ActiveDirectory and ADFS. This problem now is in production farm, but it did not happen in my staging farm. I think it is because the SecurityTokenServiceApplication was not down at the time I set up in the stating environment.
I tried to reproduce the problem in my testing environment by stopping the SecurityTokenServiceApplication during extending web application step, then I got the same problem in the production.
However, the path-based site collections in the web application do not have this problem. Every hosted name site collection have issue.
I even tried to delete the web application and recreate again but the problem still exists.
From my understanding, if I set up that way, only site collections from Internet zone can retrieve users from ADFS. However, I do not know how to resolve the above problem. If there is any one experienced the same problem, please kindly advise.
Thanks a lot.

Is Heroku hosting incompatible with .net?

I have a Facebook application hosted in Azure coded in c#. But configuration in my Facebook application asks for Hosting URL: that must be hosted in Heroku. So my application can't post actions to Facebook because this error always pops:
Given URL is not allowed by the Application configuration.
How is it supposed to work if I can't add my Azure URL: app.cloudapp.net as a hosting URL if only Heroku URLs are accepted.
Adding my applications's URL to the App Domains in application configuration hasn't helped either.
And strangely another application that I have works fine with no Hosting URL defined.
What I'm supposed to do to solve this, migrate everything to PHP? I know there can be another answer.