@SantosGuillamot do you feel like doing a guide with this in the docs?
Sure! I will try to have a first version of the installations (Where should we include the architecture needed to use Frontity and WordPress?) & deploy during this week. I’ll tell you when it is finished and I may need some feedback
Sure, whatever you need
I have made the first version of this guide of how to deploy Frontity on Now. @luisherranz When you have some time, could you take a look at it to check if everything makes sense please?
https://docs.frontity.org/guides/installation-and-deploy/deploy-on-now
Looks great to me
Sorry I can’t understand …
I follow the steps indicated in this guide:
https://docs.frontity.org/installation-and-deploy/deploy-on-now
and the result is:
https://laotramirada.uy/
I had a Wordpress running …
Any suggestions?
According to the documentation:
- Point your main domain www.mydomain.com to Frontity, as it will be the domain your users will visit.
- Create a new subdomain for your admin dashboard, where you will access to edit your content. Using a subdomain will prevent you from buying a new one. You could use for example wp.mydomain.com .
If the new url to edit the contents is wp.mydomain.com
How is the URL of the Rest API? wp.mydomain.com/wp-json/wp/v2/ ?
As you say I think the best approach would be to create a subdomain for managing the content and point the main one to Frontity. If you already have posts and pages you should migrate it to the new domain.
You just have to change state.source.api
at frontity.settings.js
inside @frontity/wp-source
package to wp.mydomain.com/wp-json/, without /wp/v2/
.
Let us know if you need any help. Looking forward to seeing what you’ve built
You can test that everything works with a different domain before migrating your whole site to Frontity.
Now gives you a default .now.sh
domain for free. It can be something like https://laotramirada.now.sh/ for example.
Hi Santos,
I would like to know if it is possible to redirect all traffic to zeit.co and from there redirect wp.mydomain.com to my content server
Hello
Mmm don’t know about this, I’m sure someone from the @development-team will help you better. Could you guys take a look at it?
Hi Luis,
I want to edit the contents of Wordpress by accessing wp.mydomain.com,
while the traffic going to mydomain.com is redirected to Zeit.co and handled by Frontity.
Apparently this could be done in Zeit according to this documentation,
but it is not clear to me the way
Thks
Oh, I see. I don’t think you can host your WordPress in Now, as far as I know is only for serverless.
So you need to host wp.mydomain.com somewhere else.
Hi Luis,
I’m checking if the subdomain redirection can be done,
according to Zeit documentation:
the command would be:
now dns laotramirada.uy wp A 108.170.35.187
Oh, ok, you are using Zeit DNS. Yes, then you need to add your A record with them
This works 100%. Thank you so much.
Has zeit changed something. Getting this error trying to deploy
Error! FetchError: request to https://api.zeit.co/v2/now/files failed, reason: write ECONNRESET
Have not changed anything. Its happening on brand new project. Was working 2 days ago
I’ve just tried to do a deploy and it worked fine. Could you please try again? Maybe they had some kind of temporary failure.