Mastodon instance - HTTPS points to Mastodon, without it points to NGINX


I just installed a Mastodon droplet and got an IP adress of it. If I type in that IP adress it opens NGNIX, if I put https:// in front of it, I get Mastodon (and I want mastodon). It says the connection is unsecure. Do I have to do something with cerfiticates or I’ve done something else wrong.

Also, I purchased my domain at onlydomains. When I try to configure the DNS, I put domain names ( and IP but after confirmation nothing changes (maybe I have to wait?)

all the best Vedran

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
December 27, 2021
Accepted Answer

Hi there,

Yes, once you make the DNS change it might take up to 24/48 hours for the DNS to propagate over the Globe.

Did you configure your domain name on your first SSH login?

If you have not made any changes to your instance yet, what I could suggest is to follow the instructions from the setup page:

On your first SSH login to the droplet, you will be greeted by a setup wizard that will create a working Mastodon server. Going in, you need to be prepared to enter the following information:

  • Domain name (the DNS records should already point to the droplet)
  • SMTP credentials for sending e-mails (this can be SparkPost, Sendgrid, Mailgun, etc)

Let me know how it goes. Best, Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel