How to use subdomains with different firebase hosting? - reactjs

I am using GoDaddy and Firebase. My domain Main Domain is hosted on one Firebase project. I am trying to use a subdomain on different firebase project. But when I reach this subdomain URL, it goes to Main Domain instead of subdomain. Is this the issue with Firebase or GoDaddy? How can I solve this issue?
I have been looking for this from past few days and couldn't resolve it.
Your help or suggestion will be a great help for me.

Related

Wordpress + react serverless on same domain

I'd like to get some advice on hosting solutions for my personal projects written with react and one WordPress website. Assuming I have domain named example.com:
Show WordPress on the root level, so when someone opens example.com, WordPress renders its homepage.
React website named First is available at example.com/first.
React website Second is available at example.com/second.
React websites should be able to handle their own cookies. Is this configuration possible at all or should I just use subdomains?
I currently use DreamHost for WordPress, for react websites I intend to use AWS amplify.
The most suiting thing for this I've found so far is a reverse proxy. After a few hours, the best I could achieve with AWS amplify is that it renders reacts as root website and opens WordPress at the subdirectory like /blog, so opposite of what I want to get.
DreamHost shared hosting doesn't support reverse proxies at all.
Should I move WordPress to a VPS or a managed hosting where I have full control over .htaccess and ability to use reverse proxies? Will the server with reverse proxy be required to be powerful enough to handle traffic for all websites or routing with proxies isn't a heavy task?

React App hosting with GoDaddy.. is it possible?

I have created reactJs App. Now I want to deploy to make my software live. Also, I have my host and domain in GoDaddy. But I do not have a guideline that how to host reactJs App on GoDaddy. I've gone through various sites but I did not get proper steps. Please help me with this as this is my biggest headache nowadays.

How do I serve an app engine version via subdomain when my app runs through Google Apps?

I'm trying to use a subdomain to serve a matching version id with Google App Engine and Google Apps. I've gone through the documentation but it's still unclear to me.
On this page regarding custom domains, it says I'm in a special case for using Google Apps. test.example.com -> to load "test" version of the application.
https://cloud.google.com/appengine/docs/domain -
Note that the instructions on this page are for App Engine apps that use an ordinary HTTP connection and are not served through Google Apps. Here are some related procedures that require different instructions:
This leads me to here https://support.google.com/a/answer/91080
It looks like the only way to add this subdomain in Google Apps is the Sites URL field.
Will the Sites URL correspond to the App Engine version ID?
You only need to use Google Apps to map an appengine app to a domain if you need https. Right now, Google Apps is the only way you can upload an SSL cert - hence this restriction.
If you do map your appengine app to a domain through google apps, you can do what you want by using wildcard subdomain mapping. Read more here..
The whole process is tedious, slow, and painful, and thats only when its not confusing, so put aside a good few hours to make all the changes and wait for DNS to propagate.

Google App Engine, custom domain and SSL error

I'm trying to setup Google App Engine with custom domain and SSL.
I've added the certificates to Google Apps and added the custom domains to Google App Engine.
I can successfully access http://domain.com and https://domain-com.appspot.com but when I try to access https://www.domain.com I got the following error: This webpage is not available
The domain is lonardiDOTorg
Any suggestions?
After some research, my findings show that this isn't supported for the moment being.
Issue 10802 on the Google App Engine issue tracker seems to confirm that it isn't yep available at the moment.
This stackoverflow post seems to contain the different workarounds that other users have used.
I hope this helps.
It is very challenging to help with this kind of issue without being able to inspect the domain and app itself.
Are there any privacy concerns in sharing the domain name so that we can see if the page is being returned by Google or by your DNS provider? It may be possible that the DNS records aren't set correctly.
Keep in mind that as this configuration is done on the Google Apps side, the Apps team may be able to assist if you have a Apps for Business account. This could help get assistance without sharing any information.
Apps Help Center: https://support.google.com/a/answer/2644334
Apps Contact Page: https://support.google.com/a/answer/2644334#contact=1

Does hosting an appengine app on custom domain force me to be a google apps customer?

I have a domain I bought (via godaddy.com) - let's call it xyz.com
I have an gae app - let's call it xyzweb.appspot.com
I added a masked redirect at godaddy dns management console and now xyz.com gets redirected to xyzweb.appspot.com (even though the address bar shows xyz.com)
This stops working well in some cases like when I give a direct url redirect like href='/static/url/tohelppage.html' or when I attempt to redirect for OAuth authorization. So I read other posts on what I need to do and the most referred one was https://developers.google.com/appengine/docs/domain.
Based on that page it appears that it is necessary to sign up for a new Google Apps account with the new domain name?
So I Have to pay for Google Apps separately beyond what I am paying for Google AppEngine?
And also manage a separate apps domain and its services? I already have google apps domains and this seems more overhead to run a small app on gae.
Could you please help me understand if I've understood this right? And if there is a way to avoid the additional overhead of an extra google apps account?
The way that I do this, is I set up a basic google apps account (which is free), and I link the GAE app to my google apps account. Then you can set google apps to alias "www" to the appengine app, and now your appengine app works on www.yourdomain.tld
It's explained more here, which I know you already looked at, but it explains it well. Try reading it again.

Resources