Error 503 While Magento 2 installing

I created droplet for Magento 2 and followed instructions from here:[]. I made steps until I received the message Installation complete. Access your new Magento site in a browser to continue.

So I go to my public ipv4 address []( where wasn’t magento page. Then I restarted server and from that moment on my ipv4 address displayed message with Error 503 Backend fetch failed.

I found this question from community. It looks very similar. So I go to /etc/default/varnish and tried to increase the http_resp_hdr_len and http_resp_size. After running service varnish restart problem with Error 503 Backend fetch failed still on ipv4 address.

Do you know how to fix it? Or could you help me to set up Magento 2?

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.

Site Moderator
Site Moderator badge
August 4, 2022

Hi @smalllightseagreenangler,

That’s strange. While you were installing the Magento did you provide it with a Domain name? I think that’s the main issue, you need to provide your Magento with a Domain name. With the Domain afterwards you’ll open your app and work on it.

Try DigitalOcean for free

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

Sign up