Question

Firebase Hosting, sub domain redirect

Im trying to set up a CNAME record so the sub-domain app.mysite.com points to firebase website where they do the hosting of my app and all the other sub-domains reaming working on the droplet as usual, my DNS settings are as fallow: dns image

And firebase instructions are as fallow: CongoDesk Instructions

When I visit the url for the CNAME I set up for Firebase I get the nginx welcome screen from my serve nginx

Does any one see a problem with the DNS settings, it has been days since I made the change so it is not a propagation issue.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @pgiani! I can see that the URL is loading properly now. I’m assuming you’ve managed to set up the DNS record correctly?

If anyone else is having a similar issue, the CNAME record should be followed by a trailing dot. For example, app.domain.com.. Otherwise, the domain name will be appended to the hostname, making it invalid: app.domain.com.domain.com.