Point AWS Route53 domain name to MailChimp landing page? - amazon-web-services

I'm having a strange issue, and I'm trying to sort out if MailChimp just doesn't allow what i'm trying to do, or if I'm doing something wrong.
I simply want to point a domain name I purchased via AWS (Route53) towards a landing page I created on MailChimp. When I go into MailChimp to edit my landing page URL, I've successfully verified the custom domain I want to use, but it will ONLY let me point a sub-url to the landing page (e.g. www.mydomain.com/add-something-here); it will not let me just point my .com to the page without the subfolder name.
Any idea why this is? I created an A Record and a www CName Record in my Route53 dashboard - the A record points to the provided MailChimp IP address, CName points to the provided Mailchimp URL. That said, when I then navigate to www.mydomain.com, I get a MailChimp error that says:
It looks like you're trying to reach a page that was built by
Mailchimp but is no longer active. Want to know more about us? Visit
mailchimp.com
Any idea why this is? Or does MailChimp just not give me the option to direct my domain name to the landing page?

Related

How can i make any URI authorized as Redirect URI for my Google Cloud APP?

Redirect URI adding section
Hi there :)
Thanks in advance, actually i was making a wordpress plugin which requries Google OAuth verification and i am making this plugin for all users. But i found that in the Authentiation URL i need to pass a Redirect URI and that needs to be added previously in my Google Cloud app, otherwise that Redirect URI will be considered as Unauthorized.
And Google doesn't allow me to add any wildcard entry as Authorized redirect URI. So, in this case how can any user use my plugin, because i can't know everyones site url and add them into my Cloud App manually.
So, do anyone knows that how can i make any URL authorized as Redirect URI or dynamically add Authorized URI into my Google Cloud app.
I tried adding wildcard URL entries, and also tried removing all URL entries from that list thinking that removing all might be considered as all urls are allowed, but nothing worked for me :(

How to redirect S3 bucket resource with trailing slash?

I have a Gatsby statically generated website hosted in AWS S3. When I create a page /join it creates the page and stores it as a resource in my S3 bucket as join/.
This means when I visit the URL https://example.com/join/ (with the trailing /) it works and the user is presented with the correct page.
But https://example.com/join (without the trailing /) doesn't work. It 302 redirects users back to the home page of my app.
To complicate this, the /join page requires params passed in a query string. i.e. ?param1=abc&param2=xyz
How can I ensure that users going to ``https://example.com/join?param1=abc&param2=xyz` are directed to the correct resource and presented with the correct page?

Invalid Redirect: domain must be added to the authorized domains list despite it being there

I am attempting to connect to the Google Analytics API using Matillion ETL on an AWS EC2 instance in an effort to load a data lake.
When I try to add the callback URL into the Google Developer Console http://ec2-99-99-99-99.compute-1.amazonaws.com/oauth_redirect.html, I get the error:
"Invalid Redirect: domain must be added to the authorized domains list before submitting."
I do have amazonaws.com added to the Authorized Domains on the OAuth Consent screen. If I add, compute-1.amazonaws.com/oauth_redirect.html, it accepts it. So I know it's recognizing amazonaws.com, but not for my specific EC2 instance
I was thinking it was because it's a sub-sub-domain, but I'm not sure if that matters. Based on other posts such as this other people have been able to connect.
I've also tried adding a new record set in Route 53 instead of the AWS provided URL, but I don't know how to change the default callback URL in Matillion. I've sent their support team a separate question about that, and will let you know if that resolves it.
I do think this is a problem on the Google side that should resolve it though. Could there be some setting in the Google console that I'm missing to allow this?
Edit: Using the Route 53 URL instead when signing into Matillion will force the OAuth config to use that instead when getting the callback URL. I'm able to connect to Google Analytics now. I will leave this post up in case anyone else runs into the subdomain.subdomain.domain.com issue with Google
As suggested in https://stackoverflow.com/a/36112649:
You can use free DNS by http://xip.io/. So for IP 99.99.99.99 use
http://99.99.99.99.xip.io/callback. And it would be resolved to
http://99.99.99.99/callback.
Further, make sure the redirect URI in the .env file or other similar configuration in AWS is set to http://99.99.99.99.xip.io/callback.

How to retrieve a list of verified domains and alias domains connected to a primary domain

I have looked at all to documentation and I cannot find any API to allow me to get a list of the domains from a Google Apps instance: is there really no query I can do to get all of the verified domains?
You can get a list of all domains using the Directory API (Admin SDK) with the following get request.
GET https://www.googleapis.com/admin/directory/v1/customer/my_customer/domains
The documentation for this API method includes the APIs Explorer at the bottom of the page (under the Try It! heading) that provides a convenient form to execute this API call. Enter 'my_customer' in the customer field.
The response will include a list of Domains and DomainAliases.

Testing facebook login on django development server

I am trying to integrate facebook login in my django app but everytime I click on facebook login button it gives me an error
Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
I my app settings my site url is
http://localhost:8000/
and also in my hosts file localhost have been mapped to 127.0.0.1
how to solve this as I have followed similar questions on stack but none helped a lot.
In your host file, set the localhost:port to the domain you wish to log in from.
Then, set the Facebook app's domain to the domain you've pointed your localhost to.