C
C
Carry2020-08-26 13:19:19
Nginx
Carry, 2020-08-26 13:19:19

Hosting to Hosting Redirect. Reduce costs?

There is an information site, the main thing is getting information from the database.
At the moment, the entire database is on a European server, which is 20x cheaper and better, but the hosting itself that is accessed (nginx, php) is on our hosting.
But due to the high load, such a normal amount comes out.

How can you further reduce costs? Maybe a redirect. I would be grateful for any advice.
PS According to the law, hosting must be located in our country, so it is fraught to immediately switch to the euro.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Taran, 2020-08-26
@carryx

in my opinion, the obvious answer is that you have nginx on your server,
in fact, it proxies to the back in henzner, that's all your IP is local and the server only proxies. Any wash will do.
And you can find how to make nginx in proxy mode at the very first link, it is used in 50% of cases.
There are balancers and everything you want to eat,
and let it be seen that nginx is proxying, but sorry, nginx + apache configuration is now the most popular and it also proxy there.
And it is unrealistic to find out which upstream is local or external. the only error in all mana on the Internet, I don’t know what the hell. But proxy http-http https-https and not http.

V
ValdikSS, 2020-09-02
@ValdikSS

PS According to the law, hosting must be located in our country, so it is fraught to immediately switch to the euro.
If the law must be observed only formally, i.e. to have an IP address of a specific country on the domain, and the traffic on the server is unlimited, then it is enough to set up the simplest traffic redirection using NAT, using iptables / nftables, if we are talking about Linux.
Minimal load on the server, no software installation or configuration required.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question