You are deploying a single website on App Engine that needs to be accessible via the URL http://www.altostrat.com/. What should you do?
A.
Verify domain ownership with Webmaster Central. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
B.
Verify domain ownership with Webmaster Central. Define an A record pointing to the single global App Engine IP address.
C.
Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
D.
Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Define an A record pointing to the single global App Engine IP address.
A, I have done that on a project and you don't need to fo routing with a dispatch.yaml file so A is enough to have a custom domain link to your app engine.
Yes, you are correct guys that you can use a custom domain with App Engine and map it to your app. However, option A is incorrect because it is not sufficient to just create a DNS CNAME record pointing to the App Engine canonical name ghs.googlehosted.com. You also need to map the domain to your app in App Engine as described in option C or D.
B is incorrect because it involves defining an A record, which can cause issues with latency and is not the recommended method for mapping a custom domain to App Engine.
Option A is incorrect because it does not include the dispatch.yaml mapping, which is necessary to associate the custom domain with your App Engine service.
The correct answer is C. To use a custom domain with App Engine, you need to define a mapping in the dispatch.yaml file to point the domain to your App Engine service. Additionally, you should create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
D is incorrect because it involves defining an A record, which can cause issues with latency and is not the recommended method for mapping a custom domain to App Engine. Additionally, it does not include the dispatch.yaml mapping, which is necessary to associate the custom domain with your App Engine service.
I would take B
https://cloud.google.com/appengine/docs/flexible/dotnet/mapping-custom-domains?hl=fa:
"In A or AAAA records, the record data is an IP address"
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
__rajan__
7 months, 1 week agotelp
1 year, 3 months agoomermahgoub
1 year, 3 months agoomermahgoub
1 year, 3 months agoomermahgoub
1 year, 3 months agoomermahgoub
1 year, 3 months agoomermahgoub
1 year, 3 months agotomato123
1 year, 8 months agonqthien041292
2 years agoherocc
2 years, 3 months agoGini
2 years, 5 months agocelia20200410
2 years, 9 months agosyu31svc
2 years, 9 months agosyu31svc
2 years, 9 months agosaurabh1805
3 years, 5 months ago