Help with WordPress url

[ad_1]

Hello!

I’m new to IT (was offered a carrer change and took it) and I’m trying to learn AWS.

For my first personal project I created a ec2 instance and installed wordpress in it. I’m using nginx instead of Apache.
At the final of the project I had a load balancer pointing to the ec2 instance. The LB has SSL via Route 53.
I can access my website normally with https but whenever I make a new post on the blog, the url changes back to the public dns of the ec2 instance and goes back to http.
Ex: it goes from mywebsite.com to ec2-1-1-1-1.amazonaws.com/post1
The same thing happens to /wp-admin.

I thought that maybe I have to change the settings inside the wordpress website and did so but lost access to the blog, so I had to change it back using the wp-config.php change method.

Can anyone enlighten me on what I’m doing wrong?
Thanks!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer