Question

Host multiple websites on one VPS with Docker and Nginx

Posted November 16, 2019 1.7k views
NginxWordPressDocker

Hi, I’m trying to follow this guide but I don’t understand what properly do at point 3: I have a GoDaddy domain, how can I setup it to make it point to the proper wordpress container?
Thanks

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.

×
1 answer

Hello, @michelediss

Thanks for reaching out to us.

In order to point the domain name to your droplet you need to set the A record of your domain name to point the IP address of your droplet with Digital Ocean.

DNS record should look like this.

Type  Name   Value    TTL
 A     @    X.X.X.X  1hour

Where ‘X.X.X.X’ is the IP address of you droplet and you need to set the Value to your IP address. Keep in mind that DNS Changes might take up 48 hours in order to fully propagate due to DNS cache, however it usually happens a lot faster.

Looking forward to your reply.

Regards,
Alex

Submit an Answer