use Linode host, ubuntu16.04 apache + php + mariadb to set up a website, and cloudflare DNS
currently need to have a shunt mechanism, but I don"t know how to do it.
(currently using Linode 4G scheme)
would like to ask experienced people how to proceed?
there are two different kinds of websites, one is e-commerce and the other is blog (and because the traffic continues to increase, the CPU utilization rate of blog alone has exceeded 33%, and e-commerce has not yet started operation)
while the e-commerce domain is: shop.XXX.com, blog is XXX.com, (implemented using htaccess)
although the two materials themselves are connected, the same host and database There are even a lot of "shared" program scripts (it should be said that it is difficult to "take apart" two different websites)
so it hurts a little bit...
I would like to ask how to move the two sites to two different hosts?
or is there a similar way to achieve a "diversion" mechanism, at least not too much problem when the number of visitors suddenly "explodes"?
have you heard a saying that Facebook may even be a host with a button? )
but it is not impossible. After all, it is reasonable to process 100 million requests per second.
what would you do? Or how to share a lot of experience?