Answer the question
In order to leave comments, you need to log in
Is it possible to have a subdomain on another hosting?
Good time of the day!
The organization I work for has a server. I can't use the server all the time due to security policy. It is possible to create a subdomain on the server, but the place (where actually) it will refer to will be on another hosting/server.?
Is that possible? If yes, what is the plan for doing this? (As I understand it, you need to get a direct url from the hosting to the desired directory, register a subdomain on the external url in the server host, or will it just transfer it like that?)
Answer the question
In order to leave comments, you need to log in
Yes. If interaction between different subdomains is not needed inside the server, this is elementary.
If interaction is needed between subdomains (on the server, not in the browser), this is possible, but more difficult.
If interaction between subdomains is only in the browser, this is easy.
Physically different subdomains are like different domains (well, except for a special cookie policy, etc.).
The browser does not care where to load one resource from, where the second resource comes from.
In general, you can make one picture load from one host, the second from another, the third from the third - and the browser will not give this to the user in any way.
What you describe is very similar to a reverse proxy, google "reverse proxy (apache|nginx)"
But, in your case, I think it's easier in the dns records for the subdomain to register the ip of another server on which you will be developing
The organization I work for has a server. I can't use the server all the time due to security policy. It is possible to create a subdomain on the server, but the place (where actually) it will refer to will be on another hosting/server.?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question