How to change URL to directory on a new installation of bitnami wordpress-nginx

[ad_1]

Hello,

I’m trying to install a clean installation of WordPress by docker-compose from this link, and also tried this link but nothing helped.

Everything works fine only with my server’s IP. But I’m going to change from 1.1.1.1 (suppose my server’s IP) to mywebsite.com/mag as my domain.

There are some issues I have:

  1. I changed domain from 127.0.0.1 to my.site.com/mag in database, but all files return 404.
  1. If I revert it back to 127.0.0.1, I can access the WordPress via my server’s IP.

Would you please help me?

 

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