How to setup New Relic on a DO Ubuntu (NR is asking for a https proxy)

I have no idea how to enable the install of the New Relic script on a DO server, as it requires a http proxy, and seems a bit over the top to install some proxy service just to install NR.

I am using New Relic on several other servers, to figure out performance issues with Wordpress and database.

Anybody has some pointers?

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.

Thanks for replying Bobby and Brian, i think i failed to mention the DO is managed by Spinupwp. Spinup has not been able to give me any pointers so far.

I revisited this issue, hoping i was wrong, but this is the message when installing the NR php client. Logged in as root via ssh.

[ssh] ServerCo:~$ curl -Ls | bash && sudo XXXXXXXXXXXXXXX NEW_RELIC_ACCOUNT_ID=XXXXXXX /usr/local/bin/newrelic install -n php-agent-installer Starting installation. Installing New Relic CLI v0.50.14 Installing to /usr/local/bin using sudo

! Connecting to New Relic Platform… Failed

We encountered an issue during the installation: there was an error connecting to New Relic platform. This is an indication that your firewall or proxy settings do not allow outbound traffic to the New Relic platform. To configure the use of an HTTP proxy, use the HTTP_PROXY and/or HTTPS_PROXY environment variables. For more details visit Details: 403 response returned. If this problem persists, visit the documentation and support page for additional help here at



As already mentioned HTTP proxy should not be needed. As you are planning to monitor a WordPress website, I believe that you just need to install the New Relic PHP agent.

Are you installing another agent?



A proxy isn’t required, you can leave it blank, unless you have egress filters enabled. The new relic agent just connects to the new relic API automatically.

What installer are you using?