I have been struggling for the past 2 days to fix this problem. I have read countless forum answers (DO and others) and I can’t figure it out.
TLDR: I can’t use my domain name (stairway.ma) in my DigitalOcean Wordpress droplet.
Domain name provider: Capconnect.com (I need a .ma domain)DNS settings 1, DNS settings 2 (idk why it has 2 settings btw).
DigitalOcean droplet: Ubuntu WordPress 5.8 on Ubuntu 20.04 (IP: 188.8.131.52)
DigitalOcean DNS records.
DNS checker points stairway.ma to the right IP.
DigitalOcean SSL pointing to domain name stairway.ma
When works both URLs point to 184.108.40.206, it works.
When I change both URLs to http://stairway.ma, it says the site is not secure, and only http://stairway.ma works (and not www.stairway.ma)
when I change the URL to https://stairway.ma, nothing works, the whole website is down.
I’ve probably created and destroyed a dozen droplets since yesterday:
define('WP_SITEURL', 'http://stairway.ma'); define('WP_HOME', 'http://stairway.ma');
but it doesn’t work.
Any ideas? I would appreciate any help and thank you in advance for your time.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
UPDATE: I found the solution, it wasn’t a firewall problem.
Forget the wordpress SSL plugins, just follow this tutorial but instead of editing
I did step 2 via FTP, not console.
I hope it helps others, good luck.
From what you have provided here it looks like your DNS settings are all correct. It looks like the SSL isn’t being installed which would need to be setup before you can change the sites URL. What errors are you seeing when trying to setup the SSL for the domain through SSH during setup?
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now