I want to build a site with an angular environment, currently I have a static site with a domain bought on aruba.
I bought a custom domain with linux hosting but being static I use it to apply the new changes in production through Filezilla.
My doubt is that if I switch to firebase to run angular, do I have to deploy to Firebase? Or do I always have to upload via filezilla?
I think it's the first answer, as the site is uploaded via deploy and not on Aruba hosting, correct?
Another question: do you know how to unlink a domain from a firebase project? In the sense that if you wanted to remove the custom domain from a firebase project, just delete the project or do something else? I have not found any information about it.
Thank you so much in advance
Related
I'm pretty new to this, but I want to configure my GitLab repo to my Cpanel hosting account. So when I push changes from my local site (environment using local by flywheel) to GitLab it automatically goes to the staging site and if everything is good to the production site.
I have managed to connect my Cpanel account with GitLab by using Deploy HQ. However, I'm trying to understand the best way to set all of this up. Currently, I'm only tracking my themes folder in GitLab. My issue is that when I deploy, all that is getting uploaded is the themes folder(obviously). How do I set this up so it will upload the full WordPress site and database? Also, how do I set it up with staging and production, would I have two different branches connected to two different directories on cpanel?
I'm just looking for some noob friendly advice on how to set up this infrastructure for WordPress Git and Cpanel.
I have a wordpress site hosted on Windows azure.while I try to upload into media I am getting the following error “the uploaded file could not be moved to work-content/uploads/..”
How do you deploy WordPress to Azure?
Whatever, there is an Azure Resource Manager template for the topic Create a WordPress site, you can follow the work solution to do again and get a work web site of WordPress, which storage for files based on Azure Storage. I think it's a simple way to make it works, due to your question is not clear.
As reference for more details about deployment, you can refer to Deploying WordPress on Azure Web App for Containers.
Hope it helps, and expect your updated.
Background:
So I have a website which is up and running. But now I want to change the hosting provider of my existing website due to certain issues.
Since, I am changing my hosting provider I thought I had do some website changes as well so I am going to buy a new WordPress theme from a third-party and run it on the new hosting provider.
My research
For what I learned, I will have to buy a different domain name and host my newly bought WordPress theme on it. And when I have made the desired changes to my WordPress theme then I can change the domain settings with my new hosting provider and redirect the old website links to the new website.
My question is
How can I host my new website on the same domain while my old website is still hosted? Is that even possible?
Is there a way where I can keep my existing website running while I am working on my new website but the new website needs to run on the same domain name as the old website was running on?
I will give you 3 solutions to solve this problem depending on your ability.
On live site running you login hosting and create new site dev after done you can point domain to new hosting and move code ( use plugin i think point domain + souce about 1 - 2h if update delay can 1 day ), if you are anxious you can temporarily turn off the indexing.
New hosting provider when payment done they'll send you link static domain temporary ( or use domain free: tk, co.cc,... ) and you working it after done you need point domain and update url in database.
Old hosting provider you can create new subdomain but point it to new hosting provider and working in new hosting when done you only point main domain to new hosting after use plugin clone to root site.
Can use DNS but you need you need to have experience with the system.
Hope to help you solve your problem.
Note:
You can learn plugin Duplicator best migration hosting.
This is what you should do.
Create a full backup of your exiting files and database
Activate the maintainance mode
Install your new theme into your current wordpress installation
Make the required changes
Once you are happy get a full back up including database
Do the DNS changes on your domain register
Upload your site, to your new host , to the correct path / folder
Wait for the DNS update and your are good to go.
How would you go about hosting / deploying a React application with WordPress on the backend? I've been using the WP Rest API plugin and that API seems to need to be hosted. Would I also have to host my front-end React application on a separate server? Or would I somehow be able to put everything onto a shared hosting service like GoDaddy or GreenGeeks?
You have a handful of options. You have the power to host React and Wordpress separately, but I prefer to host mine on the same server using docker.
If your curious, check out this starter template: https://github.com/postlight/headless-wp-starter
It's one of my favorites, and it has react pre-wrapped in a docker container with straight forward instructions.
You probably has access to CPanel or similar tools to deploy your files onto server.
Reminder is to put your build files into a sub-folder rather than deploy onto server directly,
then public_html/your_project_sub_folder_name,
then you will be able to use that domain/your_project_sub_folder_name to access the reactjs
(You cannot have 2 apps deployed at the same time if they are not sub_folder separated)
At the same time, you gain original access to WP_REST to get post data in json format already, you can create your own custom end points if needed.
Here is the anwser on how to create your own custom endpoint:
Creating custom endpoints Wordpress
Yes you can host your React App and WP separately or Host it together in one.
I tried this creating React Build Files inside WP Theme. Not yet perfect but working.
This simple WP Theme with React Build files:(React Build Folder inside WP Theme).
https://github.com/jun20/Simple-WP-ReactJS-Theme-Demo
And this is the reactjs dev files:
https://github.com/jun20/wp-theme-reactjs-dev/tree/master/Final/end
although this is not production ready and not tested.
Or
You can use the Generated React JS Build Files only with the custom Routes and Endpoints from your WP Rest API.
Like in this example: (this the build files in repo Simple-WP-ReactJS-Theme-Demo)
This React JS Build folder -> https://github.com/jun20/wp-theme-reactjs-dev/tree/Final-Build/build
it has a routes and endpoints of posts, primary navigation, at pages from live wp site site.
You can put your build files (index.html, main.js, etc) into your htdocs folder or an appropriate sub-folder. You may need to change your Apache .htaccess configuration to redirect appropriate routes.
Trying to figure the best way to develop on plesk.
I would like to develop my wordpress website on a temporary url, and attach the production domain only when I am done developing.
From some reason I'm getting various dns errors, saw a guide referring to change of hosts file but it dosent seem like the perfect solution to me.
Any tips?
You may create the clone of your WP instance (staging) and use Plesk Git extension for developing this staging WP site. After making all necessary changes on staging non-public clone you can publish it to a production domain to make it publicly available.