I'm trying to set up a wildcard domain on Google Cloud Functions. I've seen here that it's doable for Google App Engine. But how to do it for Google Cloud Functions?
Let's say the wildcard is *.singlelisting.co. I would like to reach a function named bigben from any of these subdomains 6.singlelisting.co or ns324.singlelisting.co.
So a user would reach bigben by visiting https://6.singlelisting.co/bigben or https://ns324.singlelisting.co/bigben
As far as I know the only way to get a custom domain for Cloud Functions is through Firebase Hosting.
Firebase Hosting does not support wildcard domain mappings, due to its reliance on letsencrypt.org for SSL certificates.
Related
Please can someone advise if what I'm trying to do is possible - apologies I know a lot more about AWS than Azure, and I can't find any guidance online or bypass the issue by setting up services and 'giving it a go'.
I want to send SSL-secured subdomain traffic from AWS where our primary domain is hosted to Azure where some dependent services and resources are hosted. We want to use AWS ACM for SSL management/renewals, removing any dependency on third parties or Azure for this if at all possible.
I am able to set up a CloudFront distribution with an origin of an Azure Storage Account endpoint:
xxx.blob.core.windows.net
With an alternate domain name of a subdomain of the desired URL:
xxx.xxx.co.uk
I can secure this with a wildcard ACM SSL, and the resultant images are all secure.
I have also set up a static web app, applied a custom domain to it of:
xxx.xxx.co.uk
And with the appropriate DNS/CF I can make traffic to that Azure SWA secure.
Is it possible to do the same with Azure App Gateway? All the things that I've tried or the developers working in Azure (a third party) have tried do not work, we end up with mostly 502 errors depending on the configuration. Depending on the CF/DNS configuration, I can get through to the correct resources/services by bypassing an SSL warning.
Would adding a port 80/non-https listener for our subdomain on the App Gateway work?
Here we made a simple website using cloud storage and a cloud run as an API .
have used manage custom domain for domain mapping .
When connected using javascript ,we run into CORS error .
Is there any possibility to map both with cloud storage and the cloud run API as the same domain using cloud DNS perhaps ?
So, the DNS records currently are:
example.com CNAME c.storage.googleapis.com.
we want :
example.com/service pointing to the cloud run custom domain.
I tried with URI redirect but it won't help as again we are getting CORS error.
Thanks
I am trying to set up a custom domain name for a Google Cloud Project and am very confused by the whole process. I just need an A record, but the only way I know how to find those is by going through the steps here: https://cloud.google.com/appengine/docs/standard/php7/mapping-custom-domains#mapping_a_custom_domain_to_your_app
Why do I need to go through all these steps to simply get the A record for my site? Like why do I need to verify a specific domain? I have my own DNS and just need to point it at a specific A record.
Most Google Cloud services have a proxy load balancer in front of them call the GFE (Google Front End). In order to know which service to route a request to, the GFE uses the HTTP Host header. You need to go through that process so that Google has an internal table mapping an IP address to a custom domain (via the Host header), which then maps to a Google Cloud service.
You are required to verify ownership of a domain to prevent domain hijacking. Imagine that I decide to use microsoft.com. Google requires that I prove I control the domain microsoft.com before allowing me to create a custom domain.
I have the following (python3.7) Cloud Function written that return "Hello":
https://us-central1-first-outlet-750.cloudfunctions.net/test
I would like to route a domain to this IP. So that someone can use our company URL instead of having to remember the long Google URL to enter in. For example, the a user to be able to enter in:
https://mycompany.com/test
And it to route to the Google URL. What would be the cleanest way to achieve this? For example, some options are:
Set up some flask server and redirect to the GCF url (though sort of defeats the purpose of "auto-scale" as all the IP requests have to route through our own apache server.
Set up some kind of API Gateway so that it routes traffic to that. Is it possible to do this in GCP? If so, how can I do that?
Here's a similar question, but is more in line with function egress rather than what I'm looking to do: Possible to get static IP address for Google Cloud Functions?
You can do this with Firebase Hosting integration with Cloud Functions. You will have to connect your domain to Firebase Hosting, then set up a rewrite rule to proxy a URL pattern to your function.
I bought a domain (let's say example.com) from google domains a couple of days back, but found out their web hosting is terrible. They only allow me use one of their partner hosting services. I want a simple ssh/ftp based web hosting service, where I can simply dump the html files.
So, I turned to AWS webservices to host my website. Everything works well, until I want to assign it a domain name. AWS assigned me a domain like "mytest-bucket.com.s3-website-us-west-2.amazonaws.com/", but I want to use my bought domain.
AWS allows me to buy a new domain from it, but I already have one (example.com), and want to make AWS host my website under that domain name.
Apologies if this is a newbie mistake/question but I am new to commercial web-hosting.
There is a option in AWS Route53 where you can transfer domain to AWS. Check this guide.
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html
Another way is you can change the DNS servers to Route53. Check this guide.
http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html
Another option is you can add "mytest-bucket.com.s3-website-us-west-2.amazonaws.com" as a C-name to your domain in Google and your domain "example.com" will start showing the website.