How to create a subdomain blog.mydomain.com

Hi everyone,

I have published my app and configured a custom domain purchased with Hostinger. My app runs perfectly using the URL: mydomain.com
What I have to do now is create a blog using the subdomain “blog.mydomain.com” where the blog is made with Wordpress. I understand I have to add A and CNAME values to my DNS provider to add the blog subdomain. What I am struggling with is : one this is done, what should I do in bubble.io ? and in wordpress ? Has anyone done this so far using bubble for their app and Wordpress for their blog with a subdomain ? If so could you please provide a step-by-step ? Many thanks for your help !

https://forum.bubble.io/t/how-to-create-a-subdomain-to-run-bubble-app-on/28464

Thanks for forwarding this link. I had already read it and the issue is not marked as resolved, because it is incomplete. What I am trying to understand is what to do in:

  1. bubble (where my app is hosted)
  2. my domain register (where my domain was purchased)
  3. wordpress (used to write the blog posts)

i understand. there are many bricks to the solution, and adding an A and CNAME to my domain registrar and re-registering my domain in bubble, does not solve it. Thanks again,

I did the same thing a long time ago, so I can’t give you all the steps as I don’t remember them.

I am supposed to do the same thing next week with one of my apps, and if you are not in a hurry, I can write a step-by-step guide then.

@zoombackdrops that would be really great ! I can wait thank you very much for your support !

Hey did you ever write that guide? Would love to take a look if its available!

It’s realllly simple. Use the API Connector Plugin, and add a connection.

The connection is your authentication wrapper, so anything inside of that connection will need to be authenticated if needed.

Here is a guide on setting up your authentication: Authentication – REST API Handbook | Developer.WordPress.org

Inside the of connection, you would then use the references available.

This is the general outline of what you need to do. I can go more in-depth later, but hopefully this gets you started.

In my opinion, it’s much easier to just turn this into your own plugin.

Or, you can try the WordPress plugins available on the market, in which they also have REST API setup in the plugins I believe.