R
R
rundll322021-05-27 20:45:08
Database
rundll32, 2021-05-27 20:45:08

Interaction with a site on another hosting?

I have a program on VPS hosting. Can I use it to write to the database of my site of another hosting on a Unix system?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Syomov, 2021-05-27
@kotomyava

In the most general case, yes, it is possible. Although, often, and not the best method of interaction.
But in practice, there can be a lot of pitfalls. For example, if the hosting is where the database and the site are not under your control, there may simply be no access to the database from the outside.
It would be better to consider, for example, http requests to the site, and save data to the database on the other side.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question