Hello Folks,
I have created a Droplet which is using a docker container for hosting wordpress.
I have taken a domain name from freenom and I have pointed my droplet IP as an A record. When I visit the website via domain name it opens up my IP address.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hello, @nikolaykostovnk

Have you configured the virtual host of the website to match the domain name as well? I will recommend you to double check our existing tutorial on How To Install WordPress With Docker Compose:

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-docker-compose

Hope that this helps!
Regards,
Alex

by Kathleen Juell
WordPress is a free and open-source Content Management System (CMS) that is widely used to launch new websites. Running WordPress typically involves installing a LAMP or LEMP stack by hand, work that you can simplify with tools like Docker and Docker Compose. This tutorial will show you how to set up a multi-container WordPress installation with an Nginx reverse proxy. It will also show you how to obtain TLS/SSL certificates for your application domain.
Show answer This answer has been marked as resolved by nikolaykostovnk.
Submit an Answer