Sure. SUBDOMAIN: My project is an SPA frontend with a Backend server (CSR client side rendering for my frontend). So I need to have 2 domains. So my frontend is on the main domain and the backend is on the subdomain (so I don't need to purchase another domain). If you are running an app with SSR (Server side rendering), then you wouldn't need 2 domains as it is your server delivering the content. NEW DIRECTORY: If you are referring to the new directory to host the app (as opposed to the subdomain directory), I am not sure exactly but it is required and has something to do with the structure of how the app gets created. If you don't use a second directory it will cause issues later maintaining it.
Thanks for the response! Do you use your `public_html` directory at all? Your main domain (from this video) is "hashtag-me2" and the document root is the public_html directory. The steps you took to create the front-end uses the "hashtag-metoo" (sub?)domain and the document root is the hashmain directory
@@JPJelly Very observative : ) It was originally a bit of a mistake like the tips in this video. I purchased "hashtag-metoo" from another hosting company but they didn't provide the setup nodejs module. So I had to switch companies. Which is why I decided to make the video, so I could prevent others from my pain and agony : )
Thank you very much :)
Would you be able to explain why you create a new subdomain & new directory?
Sure. SUBDOMAIN: My project is an SPA frontend with a Backend server (CSR client side rendering for my frontend). So I need to have 2 domains. So my frontend is on the main domain and the backend is on the subdomain (so I don't need to purchase another domain). If you are running an app with SSR (Server side rendering), then you wouldn't need 2 domains as it is your server delivering the content. NEW DIRECTORY: If you are referring to the new directory to host the app (as opposed to the subdomain directory), I am not sure exactly but it is required and has something to do with the structure of how the app gets created. If you don't use a second directory it will cause issues later maintaining it.
Thanks for the response!
Do you use your `public_html` directory at all?
Your main domain (from this video) is "hashtag-me2" and the document root is the public_html directory.
The steps you took to create the front-end uses the "hashtag-metoo" (sub?)domain and the document root is the hashmain directory
@@JPJelly Very observative : ) It was originally a bit of a mistake like the tips in this video. I purchased "hashtag-metoo" from another hosting company but they didn't provide the setup nodejs module. So I had to switch companies. Which is why I decided to make the video, so I could prevent others from my pain and agony : )